print(399 < io.read("*n") and "Yes" or "No")