Task: Program Execution
Input (English): 2, 2, ['n', '2295', '7927', '8623', '4635', 'K', '4941', '6177', '9359', '8825', 't', 'H', 'x', '3771', '1983', 'Y', '1857', 'z']
Output (English): 2295, 8623, K, 6177, 8825, H, 3771, Y, z