LearnPy Hub
← If…Else problems
Hard

Tomorrow's Date

Read a valid date as DD MM YYYY and print the next day's date in the same format with two-digit day and month. Remember leap years (divisible by 4, except centuries not divisible by 400).

Input

Three integers.

Output

One line.

Sample 1

Input
14 11 2026
Output
15 11 2026

Sample 2

Input
28 02 2024
Output
29 02 2024
solution.py
Output appears here
Tomorrow's Date · Python practice problem · LearnPy Hub