Task: Program Execution
Input (English): 3, 15, ['8723', '5209', '9783', 'K', '4411', '5797', '7413', '6009', 'o', 'y', 'p', '7741', 'p', '6189', 'x', 'd', 'Z']
Output (English): 9783, K, 4411, 5797, 7413, 6009, o, y, p, 7741, p, 6189, x