Task: Program Execution
Input (English): h, J, 7921, P, 5579, Q, A, 7441, y, 1717
Output (English): 8, 10, 7921, 16, 5579, 17, 1, 7441, 25, 1717