Task: Program Execution
Input (English): 299, 371, 313, 17, t, q
Output (English): 1, 2, 3, 7, 9