Task: Program Execution
Input (English): 1, 1, ['g', 'M', 't']
Output (English): g, M, t