$_=$s=<>;$_=join'',reverse split//;y/()b/)(d/;print"happy $_ new $s year!"