Task: Program Execution
Input (English): 1, 2, ['8421', 'R']
Output (English): 8421