Task: Program Execution
Input (English): 7977, R, 5423, w, 5493, 4623, a, g
Output (English): R, w, a, g