for s in(['eat']*4+['boo']*4)*2:print raw_input(),s