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