Task: Program Execution
Input (English): 5, 12, ['E', 'N', '1065', 'b', '2707', '8483', '7631', '5529', '7725', '7907', '5723', '6679', '4237', 'y', 'C', '5159', '6443', '21', 'X', 'T', '5627', '2693', 'b', 'S', 's']
Output (English): 2707, 6443