def main(): N = int(input()) if "4" in str(N) and "6" in str(N): print("Beautiful") else: print("...") if __name__ == "__main__": main()