Task: Program Execution
Input (English): 3, 7, ['P', '9925', '8431', '1953', 'T', '4639', 'S', 't', '121', '2205', '725', '5069', 'y', '3003', 'Q', '3113']
Output (English): 8431, 2205