n = int(input()) n += 1 for i in range(105): if n == pow(10, i): print("Yes") exit() print("No")