{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript type\u003d\"text/javascript\" async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS_HTML-full\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"HTML","content":"\u003cdiv\u003e \n \u003cp\u003e 一只大象想要拜访它的朋友,它的家位于位置0,而它的朋友的位置为x\u003cspan\u003e(\u003ci\u003ex\u003c/i\u003e \u0026gt; 0)(它们在一条街上)。每一步大象可以向前移动1或2或3或4或5个单位的距离。请问它最少需要移动多少步~\u003c/span\u003e\u003c/p\u003e \n\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cdiv\u003e \n \u003cdiv\u003e \n \u003cp\u003e 第一行一个数 \u003cspan\u003e\u003ci\u003ex\u003c/i\u003e\u003c/span\u003e (\u003cspan\u003e1 ≤ \u003ci\u003ex\u003c/i\u003e ≤ 1 000 000\u003c/span\u003e)\u0026nbsp;— 朋友的坐标\u003c/p\u003e \n \u003c/div\u003e \n\u003c/div\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cdiv\u003e \n \u003cdiv\u003e \n \u003cp\u003e 输出最小步数\u003c/p\u003e \n \u003c/div\u003e \n\u003c/div\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cdiv\u003e \n \u003cdiv\u003e \n \u003cdiv\u003e \n \u003cdiv\u003e \n \u003cp\u003e \u003cstrong\u003eInput\u003c/strong\u003e\u003c/p\u003e \n \u003cp\u003e 5\u003c/p\u003e \n \u003c/div\u003e \n \u003cdiv\u003e \n \u003cp\u003e \u003cstrong\u003eOutput\u003c/strong\u003e\u003c/p\u003e \n \u003cp\u003e 1\u003c/p\u003e \n \u003cp\u003e \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003c/p\u003e \n \u003c/div\u003e \n \u003cdiv\u003e \n \u003cp\u003e \u003cstrong\u003eInput\u003c/strong\u003e\u003c/p\u003e \n \u003cp\u003e 12\u003c/p\u003e \n \u003c/div\u003e \n \u003cdiv\u003e \n \u003cp\u003e \u003cstrong\u003eOutput\u003c/strong\u003e\u003c/p\u003e \n \u003cp\u003e 3\u003c/p\u003e \n \u003c/div\u003e \n \u003c/div\u003e \n \u003c/div\u003e \n\u003c/div\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cbr\u003e"}},{"title":"Hint","value":{"format":"HTML","content":"\u003cdiv\u003e \n \u003cdiv\u003e \n \u003cp\u003e 在第一组样例中大象只需迈一个步长为5 的步即可\u003c/p\u003e \n \u003cp\u003e 第二组样例中大象可以先迈一个3,再迈一个5,最后迈一个4从而到达位置,当然也有其他方法可以使得大象三步到达目的地。\u003c/p\u003e \n \u003c/div\u003e \n\u003c/div\u003e"}}]}