Task: Program Execution
Input (English): 10, 12, ['7521', 'j', 'n', '7821', 'u', '6533', '3643', '5049', 'c', 'Q', 'N', 'M', '51', 'f', 'B', '3457', '6463', '9023', 'b', 'a', '2023', 'T', 'q', 't', 't', '6177', 'J']
Output (English): MNQ