Task: Program Execution
Input (English): 3, 5, ['G', '5999', 'M', '6985', '3755', '8527', 'h', 'Q', 'G', 'H', 'P', 'k', '1959', '1061', '7809', 'I']
Output (English): M, 6985, 3755