Task: Program Execution
Input (English): 15, ['A', 'g', 'M', '329', 'a', '9771', '2069', '4211', '8193', '5885', '7311', 'B', 'I', 'K', 'Y', '2967', 'D', '1039', '3501', '511', 'N', 'F', 'f', 'b', 'i', 'n', '2171', '6913', 'F', 'z', '2477', '1037', '2197', '3833', 'H', '1143', 'y', '4653', 'M', '9655', '9569', 'I']
Output (English): A, 2967, 2477