Task: Program Execution
Input (English): 2, 3, ['5729', 'Q', '57']
Output (English): Q57