import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { Scanner in = new Scanner(System.in); char hack[]={'h','a','c','k','e','r','r','a','n','k'}; int count=0; int q = in.nextInt(); for(int i=0;i