var s,b:string='d:M';begin read(s);case s[1]of':':b:='(:';'(':b:="('-' )";end;write('happy '+b+' new '+s+' year!')end.