Task: Program Execution
Input (English): 501, 5565, 1141, n, 7179, J, 3415, 1711, U
Output (English): 501, 5565, 1141, 7179, 3415, 1711