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