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 Schedule

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


Problem Description
Welcome to ¡®Samuel Design Contest¡¯.Samuel greets you a happy Å£ Year. At new year and always,may peace and love fill your heart,beauty fill your world,joy and contentment fill your life and may you make great progress during the coming year both in your ACM and your study.
The following problems are intended for you,especially for those rookies(usually known as ¡°vegetable bird¡±in Chinglish).As it always does,the first problem is the easiest,I believe that you can work it out in a few minutes.
The problem goes like this:
Samuel is engaged at this new year's season and has a lot of things to do. For instance,he needs to buy new clothes,to prepare some food,to decorate the house and the like. Here is the schedule.

Based on the schedule,you need to answer what will Samuel do in N days before the New Year(2009.1.26 i the Spring Festival).
 

Input
The input include 2 parts:
t(an integer,presents the t test cases),n(an integer,means n days before the New Year).
 

Output
Just output what Samuel will do according to the schedule,like this¡±Samuel will *******.¡±.
 

Sample Input
3 13 3 2
 

Sample Output
Samuel will take test. Samuel will stay at home. Samuel will decorate.
 

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-11-22 10:41:03, Gzip enabled