Task: Program Execution
Input (English): 3, 5, ['361', '4539', 'R', 'x', 'u', 'K', 'F']
Output (English): u, x, R