S = input() if "4" in S and "6" in S: print("beautiful") else: print("...")