#include<stdio.h> int main() { int x; int a,b,c; scanf("%d",&x); a=x/10000; b=(x/100)%10; c=x%100; if(b>10&&c>10) { printf("year=%d\nmonth=%d\ndate=%d",a,b,c); } if(b<10&&c>10&&b!=0) { printf("year=%d\nmonth=0%d\ndate=%d",a,b,c); } if(b>10&&c<10&&b!=0) { printf("year=%d\nmonth=%d\ndate=0%d",a,b,c); } if(b<10&&c<10&&b!=0) { printf("year=%d\nmonth=0%d\ndate=0%d",a,b,c); } if(b==00&&c>10){ printf("year=%d\nmonth=10\ndate=%d",a,c); } if(b==00&&c<10){ printf("year=%d\nmonth=10\ndate=0%d",a,c); } return 0; }