Task: Program Execution
Input (English): 3, 4, ['B', 'S', 'h', '4377', 'D']
Output (English): h, 4377