Task: Program Execution
Input (English): 3, 4, ['R', '2937', 'z', '6629']
Output (English): 6629, z