s=input() if s.count("1")==1:print("No") else:print("Yes")