N=input() if "4" in N and "6" in N: ans="Beautiful" else: ans="..." print(ans)