Samuel's Hope

Time Limit: 1000ms
Memory Limit: 32768KB
This problem will be judged on HDU. Original ID: 2628
64-bit integer IO format: %I64d      Java class name: Main

Description

Samuel only has the average data,Please use these figures to predicate ,if the total number reached or higher than the number is given,Samuel's hope will come true.

Input

The first line of the input is t,which represents the number of the test cases.
Each of the test cases only contains 2 parts:
The average data of a week p(the unit is million people), the expected year's number q(the unit is million people too).Notice a year has only 52 weeks.

Output

If the number is reached,output “Oh,Samuel's hope will come true,thanks to the DcSLs.”
else output“Unfortunately,Samuel's hope will not come true,more tourists are welcomed!”

Sample Input

3
3 151
2 105
4 208

Sample Output

Oh,Samuel's hope will come true,thanks to the DcSLs.
Unfortunately,Samuel's hope will not come true,more tourists are welcomed!
Oh,Samuel's hope will come true,thanks to the DcSLs.

Source

Language: 
Theme: 
Share Code? 

Powered by NB231 | Current Style: .