Read three values from the standard input, one per line, in this order:
age — an integer, the person's age in yearsdob — a string, the date of birth in the format dd/mm/yyyyweight — a float, the person's weight in kilogramsPrint two lines.
Line 1 — three dates separated by a comma and a space, in this order:
dob (the day stays the same; if the month runs past December it wraps into the next year)dob, five years laterdob, age years laterEvery date must be printed as day/month/year with no leading zero on a single digit day or month, so 20/02/2001 is printed as 20/2/2001.
Line 2 — the weight in a readable form, as whole kilograms followed by the remaining grams, for example 55 kg 200 grams for a weight of 55.2. The grams are rounded to the nearest whole gram.
For example, for age = 25, dob = 09/03/1998 and weight = 45.05 the output is:
9/1/1999, 9/3/2003, 9/3/2023
45 kg 50 grams
Write a complete program: read the input with input() and print the result with print().
Input
5
20/02/2001
55.2
Output
20/12/2001, 20/2/2006, 20/2/2006
55 kg 200 grams