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