Task: Program Execution
Input (English): 1, 2, ['B', 'S']
Output (English): 0