import java.util.Scanner Scanner scan = new Scanner(System.in);//This is throwing the error