n = input() if n.count("4") and n.count("6"): print("Beautiful") else: print("...")