import java.util.*; public class Main { public static void main(String[] args) { int count = 0; Scanner scanner = new Scanner(System.in); //write your code here...... int i; for(int j=0;j<2147483647;j++){ i=scanner.nextInt(); i...