Task: Program Execution
Input (English): z, r, 297, 493, v, n
Output (English): 2, 3, 4, 7, 9