Task: Program Execution
Input (English): 2, 3, ['1199', '789', '5061', 'X']
Output (English): 789, 5061