Task: Program Execution
Input (English): T, U, 9787, 1271, 9349, 2503, 4579, A, 5811, 3909, y, 8117
Output (English): 20, 21, 9787, 1271, 9349, 2503, 4579, 1, 5811, 3909, 25, 8117