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