From Dusk Till Down#6227

From Dusk Till Down

1 second
64 megabytes
Easy

Vladimir has white skin, very long teeth and is years old, but this is no problem because Vladimir is a vampire. Vladimir has never had any problems with being a vampire. In fact, he is a very successful doctor who always takes the night shift and so has made many friends among his colleagues. He has a very impressive trick which he shows at dinner parties: He can tell blood group by taste.

Vladimir loves to travel, but being a vampire he has to overcome three problems.

You should help Vladimir to find the shortest route between two given cities, so that he can travel with the minimum amount of blood. (If he takes too much with him, people will ask funny questions like "What do you do with all that blood?")

Input

The first line of the input will contain a single number telling you the number of test cases. Each test case specification begins with a single number telling you how many route specifications follow. Each route specification consists of the names of two cities, the departure time from city one and the total travelling time. The times are in hours.

Note that Vladimir can't use routes departing earlier than 18:00 or arriving later than 6:00. There will be at most cities and less than connections. No route takes less than one hour and more than hours. (Note that Vladimir can use only routes with a maximum of hours travel time (from dusk till dawn).) All city names are shorter than characters.

The last line contains two city names. The first is Vladimir's start city, the second is Vladimir's destination.

Output

For each test case you should output the number of the test case followed by

Vladimir needs # litre(s) of blood.

or

There is no route Vladimir can take.

Examples

Example 1

Loading
Loading