Task: Program Execution
Input (English): 2, 8, ['2321', 'M', '4155', '1561', '945', '4365', '2751', '9855', '7471', '6041', 'L', 'P', 'T', '6845', 'g', 'F', 'f', '5069', 'T', '1453', '529', 'X', 'P', '3799']
Output (English): M, 6041, 5069