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