Task: Program Execution
Input (English): 1, 2, ['R', '9747', '51', '8423']
Output (English): 7479R