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