F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

Samuel's Hope

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 960    Accepted Submission(s): 339


Problem 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.
 

Author
Samuel
 

Source
 

Statistic | Submit | Discuss | Note
Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-04-26 23:46:11, Gzip enabled