import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static boolean checkPrime(int n){ boolean c = true; for(int i=2;i<=n/2;i++){ if (n%i == 0) { c = false; break; } } return c; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); int total =0; int all = 0; for (int i =0;i