import java.util.Scanner;
public class Example {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int total=0;
int i=0;
int x=0;
do {
System.out.print("Enter Integer: ");
i = sc.nextInt();
if(i<10){
total = total +1;
}
x = x + 1;
} while (x < 10);
System.out.println("Total: " + total);
}
}