Task: Program Execution
Input (English): 3, 4, ['8649', '9677', 'R', 'j', 'E', 'e', '1773', 'X']
Output (English): Rj