Task: Program Execution
Input (English): 337, 191, i, q, r
Output (English): 1, 3, 7, 9