Why do I get an error? What´s wrong? It says it can´t find a BufferedReader class
package de.codegym.task.task05.task0507;
import java.io*;
/*
Arithmetisches Mittel
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.io));
while (true){
String sA = reader.readLine();
int zahl = Integer.parseInt(zahl);
int insgesamt;
if (zahl == -1){
average = insgesamt/i;
System.out.println(average);
break;
}
int i=0;
i++;
insgesamt += zahl;
}
}
}