Task: Program Execution
Input (English): 2, 3, ['3631', '6029', 'Q', '5055']
Output (English): 6029, Q