Task: Program Execution
Input (English): 5225, 7083, 8279, r, 7817, 7681, 9395, X, 2457, y, 787, Q, 8297, V, 1009, 2469, 5121
Output (English): 5225, 7083, 8279, 18, 7817, 7681, 9395, 24, 2457, 25, 787, 17, 8297, 22, 1009, 2469, 5121