n = input() print('Beautiful' if ('4' in n and '6' in n) else '...')