Task: Program Execution
Input (English): 5, 4, ['P', 'i', '3601', '2623', 'F', '5651', '6447', '4609', '8195', 'R', 'Q', '9149', 'o', '3865', '2661', '311', '7213', 'b', '3235', '2237', 'l', '7743', '4047', 'v', '8535', '2913', '8749', 'K', 'd', 'p']
Output (English): F, 8195, o, 7213, l, 8535, d