Task: Program Execution
Input (English): 5211, h, Y, 4363, B, J, 8133, U, D, 15, 1031, g, 1099, N, 819, y, 5707, 5879, 1869, 7173, n, 3095, X
Output (English): 12