num_set = set(map(int, input()[::1])) print(num_set) if 4 in num_set and 6 in num_set: print("Beautiful") else: print("...")