Task: Program Execution
Input (English): 3, 4, ['F', '7521', 'R', '6859', '2391']
Output (English): R6859