Task: Program Execution
Input (English): 7, 8, ['1287', '7865', '867', '4037', 'K', 'D', '3863', 'M', '4151', 'L', 't', '5127']
Output (English): M3863