Task: Program Execution
Input (English): 5217, 2293, X, 3187, 3787, 9731, 495, f, S, H, 1721, b, V, j, d, Y, 6769, a
Output (English): 5217, 2293, 24, 3187, 3787, 9731, 495, 6, 19, 8, 1721, 2, 22, 10, 4, 25, 6769, 1