HELP
package com.javarush.task.task04.task0442;
/*
Суммирование
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
int a1 = Integer.parseInt(bf.readLine());
int a2 = Integer.parseInt(bf.readLine());
int a3 = Integer.parseInt(bf.readLine());
int a4 = Integer.parseInt(bf.readLine());
int a5 = Integer.parseInt(bf.readLine());
while(a5 == -1){
System.out.println(a1+a2+a3+a4+a5);
break;
}
}
}