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