|
Wakamo |
Heeheehee... |
|
Wakamo |
Is that so? Ah, I see. |
|
Fubuki |
Huh? |
|
Wakamo |
So even you intend to stand in the way of my 'goal.' Very well. |
|
Wakamo |
Then I have a plan of my own. Heehee. |
|
Fubuki |
...? |
The first line contains , , and , separated by spaces. ;
Print the code phrase you should send back to Kirino on the first line.
[A few minutes later]
|
Fubuki |
K-Kirino! Wakamo, the Fox of Calamity, has escaped from the Corrections Bureau...! |
|
Fubuki |
I never imagined... She used the oyakodon we brought her for lunch to get out of her handcuffs. |
|
Kirino |
So the name Fox of Calamity really is well earned. |
|
Kirino |
Judging by the circumstances, she is heading to Schale. We should contact Sensei. |
Sensei, Wakamo, the Fox of Calamity, has escaped from the Corrections Bureau and is heading to Schale, where you are. We in the Public Safety Bureau intend to reach Schale as quickly as possible to protect you, and arrest Wakamo immediately if we find her on the way.
For ease of command, we will represent the city as districts and roads.
The districts (vertices) are numbered through .
The roads (edges) are numbered through .
We in the Public Safety Bureau will search for Wakamo as we travel, in order to arrest her!
The Public Safety Bureau travels from district to district only along shortest paths. Here, a shortest path is a path with the minimum travel time among all possible paths.
We search along every possible shortest path. In other words, every district that belongs to at least one shortest path from to is searched.
However, Wakamo will also move so as to evade us.
Given the importance and confidentiality of the operation, we will use code phrases. If you determine that the Public Safety Bureau can arrest Wakamo, or that she cannot reach Schale under any circumstances, please reply with GIVE ME CHOCO. Conversely, if you determine that Wakamo can reach Schale first without being arrested and reinforcements are needed, please reply with Burning Love!
The second line contains , , and , separated by spaces.
The next lines, starting with the third line, each contain and , separated by a space. The -th of these lines means that road connects districts and . No road is given more than once. ; ;
It is guaranteed that district is reachable from district .
It is guaranteed that district would be reachable from district if Wakamo were allowed to use road .