Task: Program Execution
Input (English): q, 9363, l, 4601, s, 7289, J, p
Output (English): 1, 3, 5, 7, 8