Task: Program Execution
Input (English): 2, 5, ['d', '877', '5241', '8741', 'N', 'x', '7611', '5519', 'a', 'i', 'R', '8885', 'v', 'Z', 'd', '7173', '4715', 'c', 'Z', '4731', '6277', 'k', 'K', '9003', '1407', 'w', '2339', 'u', 'n', '1351']
Output (English): N, 8741, 5241, 877