Task: Program Execution
Input (English): 2, ['5719', '1779', '7183', '6251', '4495', 'p', 'g', '1063', 'x', 'E', 'q', 'g']
Output (English): 5719, 7183, 4495, g, x, q