Task: Program Execution
Input (English): r, 15, 387, 299, j, 79, q, 251, 147
Output (English): 1, 2, 3, 4, 5, 7, 8, 9