Task: Program Execution
Input (English): 5, 7, ['9919', '2873', 'M', '5483', '5275', 'p', 'p', 'T', 'W', 'q', 'p']
Output (English): 5275pp