Task: Program Execution
Input (English): z, 151, a, 275, 233, 313, b, 497, z, 495, q, o, 477, 493
Output (English): 1, 2, 3, 4, 5, 7, 9