Task: Program Execution
Input (English): 2495, d, D, u, o, 5173, 6503, 5191, 955, 563, E, x, 6951, 8585, a, 761, 8179, y, p, x
Output (English): 2495, 4, 4, 21, 15, 5173, 6503, 5191, 955, 563, 5, 24, 6951, 8585, 1, 761, 8179, 25, 16, 24