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

import datetime
s=input().split()
y,m,d=s[0:3]
y=int(y)
m=int(m)
d=int(d)
now=datetime.date(y,m,d)+datetime.timedelta(days=1)
a=now.strftime('%Y %m %d')
y,m,d=a[0:4],a[5:7],a[8:10]
if int(m)<=9:
    m=int(m)
if int(d)<=9:
    d=int(d)
print(y,m,d)