Phil Grizzard — an Illinois State University mathematician — discovered that each date expresses the age in days, months and years of a person born on 30 November 1999. He therefore calls someone born on this date a stopwatch baby. For example, on 4 May 2016 (04/05/16) a stopwatch baby is 4 days, 5 months and 16 years old.
A caveat: in December we must make a small adjustment by setting the month to 0 and adding 1 to the year. So on Christmas 2018 (25/12/18) a stopwatch baby will be 25 days, 0 months and 19 years old.
Three lines that respectively contain the day (an integer between 1 and 31), the name of the month (in lowercase) and the year (an integer) of a given date. You may assume that the date is valid and comes later than the birth date of stopwatch babies (30 November 1999).
A single line that indicates the age of stopwatch babies (expressed in days, months and years) on the given date. Take a look at the examples below to see how the output must be formatted. Note that singular or plural terms must be used for the time units: singular if the value is equal to 1 and plural in other cases.
Input:
4
may
2016
Output:
Stopwatch babies are 4 days, 5 months and 16 years old on 4 may 2016.
Input:
25 december 2015
Output:
Stopwatch babies are 25 days, 0 months and 16 years old on 25 december 2015.
Input:
1 january 2001
Output:
Stopwatch babies are 1 day, 1 month and 1 year old on 1 january 2001.