Task: Program Execution
Input (English): 1055, t, 2857, J, 5039, R, S
Output (English): t, J, R, S