{"trustable":true,"prependHtml":"\u003cstyle type\u003d\"text/css\"\u003e\n div.illustration {\n float: right;\n padding-left: 20px;\n }\n div.illustration .illustration {\n width: 100%;\n border-radius: 4px;\n }\n pre {\n display: block;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n color: #333;\n word-break: break-all;\n word-wrap: break-word;\n }\n\u003c/style\u003e\n\u003cscript\u003e\n window.katexOptions \u003d {\n delimiters: [\n {left: \u0027\\\\[\u0027, right: \u0027\\\\]\u0027, display: true}\n ]\n };\n\u003c/script\u003e\n","sections":[{"title":"","value":{"format":"HTML","content":"\n \u003cdiv style\u003d\"width:30.00%\" class\u003d\"illustration\"\u003e\n \u003cimg src\u003d\"CDN_BASE_URL/28ba63f43bd1b30b60d6e9608fc4465f?v\u003d1715568510\" alt\u003d\"/problems/missingnumbers/file/statement/en/img-0001.jpg\" class\u003d\"illustration\"\u003e\n \n \u003c/div\u003e\n \u003cp\u003eYou enjoy your new job as a teacher of young children. It’s\n fun to see them learning to count, recognize letters, draw, and\n interact with the world.\u003c/p\u003e\n \u003cp\u003eOne common problem you’ve noticed is that children often\n forget numbers when counting. For example, early on they might\n count “one, two, three, five, six.” You have to remind them\n about that “four” that they didn’t say. And as they get more\n proficient and clever, they may use the “quick” way of\n counting: “one, two, skip a few, ninety-nine, one hundred!”\u003c/p\u003e\n \u003cp\u003ePlease write a program that can help you (and your students)\n identify the missing numbers when they are counting.\u003c/p\u003e\n \u003ch2\u003eInput\u003c/h2\u003e\n \u003cp\u003eThe first line of input contains a single integer\n \u003cspan class\u003d\"tex2jax_process\"\u003e$n$\u003c/span\u003e, where \u003cspan class\u003d\"tex2jax_process\"\u003e$1 \\le n \\le 100$\u003c/span\u003e. Each of the next\n \u003cspan class\u003d\"tex2jax_process\"\u003e$n$\u003c/span\u003e lines contains one\n number that the child recited. Each recited number is an\n integer between \u003cspan class\u003d\"tex2jax_process\"\u003e$1$\u003c/span\u003e and\n \u003cspan class\u003d\"tex2jax_process\"\u003e$200$\u003c/span\u003e (inclusive). They\n are listed in increasing order, and there are no\n duplicates.\u003c/p\u003e\n \u003ch2\u003eOutput\u003c/h2\u003e\n \u003cp\u003eIf the child recited all the numbers between \u003cspan class\u003d\"tex2jax_process\"\u003e$1$\u003c/span\u003e and the last number they recited,\n then print \u003ctt class\u003d\"ttfamily\"\u003egood job\u003c/tt\u003e.\u003c/p\u003e\n \u003cp\u003eIf the child missed any numbers between \u003cspan class\u003d\"tex2jax_process\"\u003e$1$\u003c/span\u003e and the last number they recited,\n then print those missing numbers in increasing numeric order,\n one per line.\u003c/p\u003e\n \u003ch2\u003eSample 1\u003c/h2\u003e\u003cbody\u003e\u003ctable class\u003d\"vjudge_sample\"\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e9\n2\n4\n5\n7\n8\n9\n10\n11\n13\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e1\n3\n6\n12\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003c/body\u003e\n \u003ch2\u003eSample 2\u003c/h2\u003e\u003cbody\u003e\u003ctable class\u003d\"vjudge_sample\"\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e5\n1\n2\n3\n4\n5\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003egood job\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003c/body\u003e\n "}}]}