N = input() if N.count('6') > 0 and N.count('4') > 0: print("Beautiful") else: print("...")