import sys input = sys.stdin.readline N=input().strip() if "4" in N and "6" in N: print("Beautiful") else: print("...")