Task: Program Execution
Input (English): 2977, w, 3201, 4827, 3213, 9925, J, 887, J, 4115, 9921, 1115, C
Output (English): w, J, J, C