Task: Program Execution
Input (English): 6, 7, ['2779', 'r', 'X', 'x', 'j', 'R', '3529']
Output (English): 3529, R