Add one day

Write a program that reads a sequence of dates, and adds one day to each
of them.

Input

The input is a sequence of dates. Each date is formed by three integers:
day, month, and year. All given dates are correct. None of the given
dates will belong to a leap year.

Output

For each date in the input, the date of the next day is printed. Follow
the format of the examples.

Problem information

Author: Lluís Padró

Generation: 2026-01-25T16:54:04.372Z

© Jutge.org, 2006–2026.
https://jutge.org
