using System;
class Program{
    static void Main(){
        string s=Console.ReadLine();
        Console.WriteLine("year={0}\nmonth={1}\ndate={2}",
                          s.Substring(0,4),
                          s.Substring(4,2),
                          s.Substring(6,2));
    }
}