Task: Program Execution
Input (English): e, 487, V, 3403, n, 639, 2471, Q, 4061
Output (English): 2, 4, 6, 7, 9