S = int(input())

if S >= 400:
    print("Yes")
else:
    print("No")