n = int(input()) print("Yes" if n >= 400 else "No")