Task: Program Execution
Input (English): 2, 2, ['K', 'S']
Output (English): S