Task: Program Execution
Input (English): 2, 8, ['V', 'Q', 'T', 'N', 'Q', 'B', '1387', 'h', '5775', 'T', 'v', '4383', 'n', '4121', 'R', 'W', 'M', '4519']
Output (English): Q, T, 4519