Task: Program Execution
Input (English): 7517, 7589, m, q, 951, j, b, s, P, 8455, D, J, 2277, 8227, 8277, 5993
Output (English): 7517, 7589, 951, 8455, 2277, 8227, 8277, 5993