Task: Program Execution
Input (English): 4, 6, ['D', '3611', '1037', 'S', 'b', 'b', 'H', '7447', '2961', '9561']
Output (English): Sbb