#include <stdio.h>
int main(){
    int y,m,d;
    scanf("%4d%2d%2d",&y,&m,&d);
    printf("year=%d\n",y);
    printf("month=%02d\n",m);
    printf("date=%02d\n",d);
    return 0;
}