function Main(input) { function isError(s) { return 400 <= s && s <= 599; } const S = parseInt(input.replace("\n", "")); console.log(isError(S) ? "Yes" : "No"); } Main(require("fs").readFileSync("/dev/stdin", "utf8"));