N = input() if '4' in list(N) and '6' in list(N): print("Beautiful") else: print("...")