Task: Program Execution
Input (English): 7723, K, A, 1053, 6929, 985, 3199, N, e, Y, 8823, N, 5271, n, 9947
Output (English): 7