#include <stdio.h>

int main() {
    int year,month,date;
    scanf("%4d%2d%2d",&year,&month,&date);
    printf("year=%d\n",year);
    printf("month=%02d\n",month);
    printf("date=%02d\n",date);

    return 0;
}