Task: Program Execution
Input (English): 135, q, d, 251, 21, i, 237
Output (English): 1, 2, 3, 5, 7