which import statment(s) should i use to reduce the combiling time? thanks
package com.codegym.task.task05.task0507;
import java.io.*;
/*
Arithmetic mean
*/
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
int input, counter = 0, sum = 0;
double mean;
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
while(true){
input = Integer.parseInt(reader.readLine());
if(input == -1){
break;
} else {
sum = sum + input;
counter++;
}
}
if(counter != 0){
mean = (sum/counter);}
else{
mean = 0;}
System.out.println(mean);
}
}