f4=False f6=False for i in list(input()): if i=="4": f4=True elif i=="6": f6=True if f4 and f6: break print("Beautiful" if f4 and f6 else "...")