n=input().strip('') n=[int(i)for i in n] print('Beautiful'if 4 in n and 6 in n else'...')