Task: Program Execution
Input (English): J, 5261, J, 2221, 2803, D, 4127, y, 6705, 9571, j, Q, 2099, 9869, y, a, 9449, H, 969, A
Output (English): 10