Task: Program Execution
Input (English): 3, 6, ['785', '5547', '4549', 'U', 'U', '3405', 'H', '7559', '2169', '8979', '8891', 'w', '271', 'U', 'A', '769', 'Y', 'C']
Output (English): 4549, 2169, A