Task: Program Execution
Input (English): 477, a, n, r, 457, g, c
Output (English): 4, 5, 7