There are N devices, marked from 1 to n, and the power of ith device is x. There is only one fuse, that means if you use too much devices, the fuse will blow out. At first all devices are closed. Now you get M operations, each operation makes a change to one device, if it is closed, it will open, if it is open, it will close.
For each test case, output the test case number. If the fuse was blown, output "Fuse was blown.", or you should output "Fuse was not blown." first, then output the maximum sum of power when opening or closing devices. See Sample for more details, output a blank line after each test case.
Case 1
Fuse was blown.
Case 2
Fuse was not blown.
Maximal power consumption was 9 amperes.