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