Task: Program Execution
Input (English): 2, 3, ['T', 'g', 'H', 'K']
Output (English): H, g