n=int(input()) if 0<n%5<4 : print("Fishing in day {}".format(n)) elif n%5==0 or n%5==4: print("Drying in day {}".format(n))