кто подскажет как сделать?
package com.javarush.task.task04.task0442;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Суммирование
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader BR = new BufferedReader( new InputStreamReader(System.in));
boolean b;
while(BR.hasNext()==true){
int i = Integer.parseInt(BR.readLine());
int w = Integer.parseInt(BR.readLine());
int e = Integer.parseInt(BR.readLine());
int r = Integer.parseInt(BR.readLine());
int t = Integer.parseInt(BR.readLine());
if(BR.readLine == -1){
}
System.out.println(i+w+e+r);
}
}
}