| Command | Description |
|---|
> | Increment the pointer (to point to the next cell to the right). |
< | Decrement the pointer (to point to the next cell to the left). |
+ | Increment (increase by one) the byte at the pointer. |
- | Decrement (decrease by one) the byte at the pointer. |
. | Output the value of the byte at the pointer. |
There is a number of tests T (T ≤ 100) on the first line. After T tests follow. Each test case is a sequence of display processor commands on a separate line. You can assume that line length is less than 100000.
For each test output a single line 'Case T : D'. Where T is the test number (starting from 1) and D is display's memory dump in hexademical numeration system after executing given brainfuck program. Every byte must be separated exactly by one space character. See examples for clarification. Please note, that the sample input and output is divided into several lines only for convenience.