Birthday
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Given day and month of birth, and the current day, month and year. Determine how many days are left before the birthday.
Input
In the first row are separated by spaces the day and month of birth, the second - separated by spaces the current day, month and year.
Year from 1920 to 3000, a month - from 1 to 12, day - 1 to the number of days per month.
Output
Deduce the number of days remaining until the birth.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 25%