Task: Program Execution
Input (English): 3, 4, ['5705', '131', 'D', '3049', '4247', '6317', '1101', '6125', '5875', 'O', 'W', 'I', '2517', '1191', '4679', 'y', '8027', '8479']
Output (English): D, 3049