Task: Program Execution
Input (English): 2, 6, ['Y', 'S', 'S', 'n', 'K', 'i']
Output (English): SSnKi