Task: Program Execution
Input (English): e, f, 121, 273, d, 83, 311, z
Output (English): 1, 2, 3, 7, 8