Task: Program Execution
Input (English): 5, 6, ['7321', 'Y', '8649', 'c', '3147', '8377']
Output (English): 8377, 3147