Task: Program Execution
Input (English): 4, 5, ['9767', 'g', 'v', '7029', 'R']
Output (English): 7029, R