Task: Program Execution
Input (English): 4, 5, ['N', '2859', '9715', '6961', 'Y', '2097', 'W', 'D', 'h', '1949', '577', '8431', '9999', 'w', 'K', '4059', '2149', 'G', '1825', 'e', '1891', 'r', 't', '6483']
Output (English): 6961, h, w, 1825, 6483