Showmic is a great programmer. He does his all work with the knowledge of programming. He has a little nephew. He reads in class 2. He loves chocolate very much. Each and everyday Showmic brings chocolate for his nephew. On the 1st day he brings 1 chocolate for his nephew. On the 2nd day he brings 2 chocolate for his nephew. And then showmic thinks now he apply his programming knowledge. From then he brings chocolate according to the summation of chocolate that he bought on previous 2 days for his nephew. From then shomics' nephew can't find out on which day his uncle brings such number of chocolate for him. At this time it is your task to help showmics' nephew that on which day his uncle brings such number of chocolate for him. Input: ------ Given the number of chocolate n(n<2^31-1) that Showmic brings for his nephew.. Program ends with End Of File.. Output: ------- Print the day number on which Showmic brings such number of chocolate.. After printing the day number you print a string like.. if day number 1 you print string "st" after day number, if day number 2 you print string "nd" , if day number 3 you print string "rd", and rest of the day number you print string "th" as 4th, 5th etc. format like : Showmic brings n chocolate on result"string"(as described in output) day. Sample Input ------------ 1 3 8 Sample Output ------------- Showmic brings 1 chocolate on 1st day. Showmic brings 3 chocolates on 3rd day. Showmic brings 8 chocolates on 5th day.
|Language||Time Limit (seconds)|