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