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