Task: Program Execution
Input (English): 2, 3, ['1421', 'H', 'T', '2899', 'N', '1535', 'c', '1231', '9663', '3125', 'N', '231', 'u', '8827', '7275', 'd', '5793']
Output (English): TH