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