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