Task: Program Execution
Input (English): q, 281, 221, d, i, 119, 481, 413, j, p, 85, a
Output (English): 1, 2, 3, 4, 5, 8, 9