Task: Program Execution
Input (English): J, 8359, 4959, 1947, 5
Output (English): 8359, 4959, 1947, 5