Task: Program Execution
Input (English): A, 5277, O, 6845, 6983, P, Q, 1637, 1131, 3807, 2821, 7077, Y, l
Output (English): 5277, 6845, 6983, 1637, 1131, 3807, 2821, 7077