n = str(int(input())+1) print("Yes" if n=="1"+"0"*(len(n)-1) else "No")