n = input().strip() s = str(n) if '4' in s and '6' in s: print("Beautiful") else: print("...")