Task: Program Execution
Input (English): 5, 21, ['9107', '8781', 'd', 'J', '8651', 'h', '9179', 'n', 'l', 'x', '2505', 'i', 'h', 'R', 'm', '6213', '4899', '2943', '3715', '983', '979', 'Y']
Output (English): 979, 983, 3715, 2943, 4899, 6213, m, R, h, i, 2505, x, l, n, 9179, h, 8651