Task: Program Execution
Input (English): j, 1507, 1863, 2611, L, 8623, A, a, x, 9963, 5851, 8811, S
Output (English): 1507, 1863, 2611, 8623, 9963, 5851, 8811