HAPPYB - Happy Birthday !!!
Alim, Shipu and Sufian are good friends. They are programmers and their coach is Dipu sir. Sometimes They give training to newbies. Dipu sir ordered to create a very easy problem set for new programmers. They think of a very easy problem. This problem uses some condition in a program and print the result. The condition are:
Condition | |
If date(d) 7 and month(m) 1 | Happy Birthday To Shipu. |
If date(d) 29 and month(m) 4 | Happy Birthday To Dipu Sir. |
If date(d) 30 and month(m) 5 | Happy Birthday To Fahad vai. |
If date(d) 21 and month(m) 6 | Happy Birthday To Sufian. |
If date(d) 11 and month(m) 12 | Happy Birthday To Alim. |
If another day and month | This is an ordinary day. |
Input
Input is a sequence of lines. Each line contains two integer d (1 ≤ d ≤ 31) and m (1 ≤ m ≤ 12).
Output
For each line of input print a single line following by the Print Column.
Example
Input: 29 4 11 12 30 5 24 6 Output: Happy Birthday To Dipu Sir. Happy Birthday To Alim. Happy Birthday To Fahad vai. This is an ordinary day.
Problem Setter: Shipu Ahamed, Dept. of CSE Special Thanks: Iffat Arzuman
Bangladesh University of Business and Technology (BUBT)
Added by: | Shipu Ahamed |
Date: | 2013-03-06 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |