Task: Program Execution
Input (English): c, 121, c, 479, q
Output (English): 1, 2, 4, 7, 9