Start: Nov, 12, 2017 10:00:00
2017秋Python程序设计基础培训第三次作业
End: Nov, 19, 2017 12:00:00
Time elapsed:
Time remaining:

Problem_ID: C
Result: Accepted
Time: 99ms
Memory: 24700kB
Author: suny
In contest: 1123

import datetime
s=list(map(int,input().split()))
y,m,d=s[0],s[1],s[2]
t=datetime.datetime(y,m,d)
j=t+datetime.timedelta(days=1)
j = str(j)
a = j.split()
a = list(map(int,a[0].split("-")))
print(a[0],a[1],a[2])