Task: Program Execution
Input (English): 3, 4, ['g', 'f', 'O', 'm', 'h']
Output (English): m, O