Task: Program Execution
Input (English): 5887, n, 7229, 7855, g, 5307, x, 7611, 5821, 3711, j, p
Output (English): 1, 3, 4, 6, 8, 9, 10