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: 132ms
Memory: 25552kB
Author: cxf2017
In contest: 1123

import datetime
date=input()
d=datetime.datetime.strptime(date,'%Y %m %d')
tomorrow=d+datetime.timedelta(days=1)
s=tomorrow.date().strftime('%Y %m %d')
list1=s.split()
list1[1]=int(list1[1])
list1[2]=int(list1[2])
print(str(list1[0])+" "+str(list1[1])+" "+str(list1[2]))