x = list(input()) if "4" in x and "6" in x: print("Beautiful") else: print("...")