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