Task: Program Execution
Input (English): 3, ['2137', '7389', '1053', 'd', 'g', '5479', 'h', '4541', 'x', '6831']
Output (English): 2137, 7389, 1053