Task: Program Execution
Input (English): 3, 6, ['n', '947', '8285', 'P', 'Y', '9533', 'b', '9851', '5613', '8341', '2069', '1885', 'w', '6423', '5129', '3719', 'T']
Output (English): 8285, 5613, 5129