Task: Program Execution
Input (English): 7, ['8911', '6151', '2773', '7717', '3211', '3197', '2125', '305', 'M', '6779', 'x', 'P', '3423', '9145', 'v', '6197', '3577', '715', '5201']
Output (English): 8911, 6151, 2773, 7717, 3211, 3197, 2125