N = [x for x in input()] print('Beautiful' if ('4'in N and '6'in N)else '...')