Task: Program Execution
Input (English): 3, 3, ['t', '5115', '4221', 'c', '6931', '9403', 'a', '7661', '5975', 'N', '1089', '6355', '995', '8583', 'Q', '4077', 'K', 'W', '4567']
Output (English): 4221, 9403, 5975, 6355, Q, W