Task: Program Execution
Input (English): q, 247, 175, 339, 155, e, 307, 419
Output (English): 0, 1, 2, 3, 4, 5, 7, 9