print("yes") if 4 <= int(input())//100 <= 5 else print("No")