Task: Program Execution
Input (English): 2, 4, ['409', 'r', '7807', 'Y']
Output (English): Y7087r