Task: Program Execution
Input (English): 2, 4, ['5405', 'x', 'R', 'w', '4475', 'a', 'R']
Output (English): x, R, w