Task: Program Execution
Input (English): 4, ['315', '6123', 'f', 'L', '237', 'b', 'z', '7371', '3189', '2141', '7231', 't', '2357', '1271']
Output (English): 315, 237, 3189, 2357