s = input() if "W" in s or "L" in s: print("Failed...") else: print("Done!")