Task: Program Execution
Input (English): n, 3597, 8327, 9393, 8019, 2173, 943, H, 7931, k, 3995, 4921, 6729, i, 7999, 685
Output (English): 4