Task: Program Execution
Input (English): 3, 6, ['8445', '5235', 'X', '2977', '7647', 'n']
Output (English): X29777647n