Task: Program Execution
Input (English): 5097, 6591, Y, 2673, 9031, s, 7415, 787, 4551, 8731, 4015, 6055, B, 8789
Output (English): 5097, 6591, 2673, 9031, 7415, 787, 4551, 8731, 4015, 6055, 8789