Task: Program Execution
Input (English): 8, 12, ['x', '1483', 'f', '5743', 'P', '2811', '5671', '7491', 'D', '2017', '4053', '2583', 'p', '9753', '4161', '2183', '3499', 'H', 's', '3013', '8123']
Output (English): 7491, D, 2017, 4053, 2583