Task: Program Execution
Input (English): 2865, 7991, 9999, 109, 8331, 389, 2219, Q, 7657, J, Y, W, 9295
Output (English): 2865, 7991, 9999, 109, 8331, 389, 2219, 7657, 9295