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: 103ms
Memory: 24700kB
Author: zzhk
In contest: 1123

import time
import datetime
a=list(map(int,input().split()))
anyday=datetime.datetime(a[0],a[1],a[2])
nextday=anyday+datetime.timedelta(days=1) 
b=list(map(int,nextday.strftime('%Y %m %d').split()))
for i in b:
    print(i,end=' ')