input_val = input() print("Beautiful") if "4" in input_val and "6" in input_val else print("...")