Task: Program Execution
Input (English): 2, ['5943', '5207', '5385', 'P', '9981', 'c', '6321', '4479', 'f']
Output (English): 5943, 5207