There are $$$4$$$ types of robots:
You are also given a tree, where each non-leaf vertex has at least 4 neighbours. Let $$$E$$$ be the set of edges ($$$x_i, y_i$$$). Let $$$S_i$$$ be the set of cells to which robot $$$i$$$ can move. The following conditions should be satisfied:
For each test, print the answer in the following format:
151 21 31 41 5
...... ...... ...... .##... ..#... ...... 6 1 C 1 6 C 1 5 D 2 6 A 2 5 B

Figure 1. Specification for sample.
| Name |
|---|


