Task: Program Execution
Input (English): 2, 5, ['n', 't', '1709', '7803', 'p', '5741', 'D', '3973', '575', 'h', '9983', 'p', '8383', '6849', '2711', 'H', '3355']
Output (English): t, D, p, 3355