{"trustable":false,"prependHtml":"\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 async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\" type\u003d\"text/javascript\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"HTML","content":"\u003cdiv\u003e\n Mr. Frog has n sticks, whose lengths are 1,2, 3$\\ \n \u003cspan\u003e\u003cspan\u003ecdots\u003c/span\u003e\u003c/span\u003e $n respectively. \n \u003cspan\u003e\u003cspan\u003eWallice\u003c/span\u003e\u003c/span\u003e is a bad man, so he does not want Mr. Frog to form a triangle with three of the sticks here. He decides to steal some sticks! Output the minimal number of sticks he should steal so that Mr. Frog cannot form a triangle with\n \u003cbr\u003e any three of the remaining sticks.\n\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003e The first line contains only one integer T ($T\\\u003cspan\u003e\u003cspan\u003eleq\u003c/span\u003e\u003c/span\u003e 20$), which indicates the number of test cases.\u003cbr\u003e \u003cbr\u003e For each test case, there is only one line describing the given integer n ($1\\\u003cspan\u003e\u003cspan\u003eleq\u003c/span\u003e\u003c/span\u003e n \\\u003cspan\u003e\u003cspan\u003eleq\u003c/span\u003e\u003c/span\u003e 20$).\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003e For each test case, output one line “Case #x: y”, where x is the case number (starting from 1), y is the minimal number of sticks \u003cspan\u003e\u003cspan\u003eWallice\u003c/span\u003e\u003c/span\u003e should steal.\u003c/p\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre\u003e\r\n3\r\n4\r\n5\r\n6\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre\u003e\r\nCase #1: 1\r\nCase #2: 1\r\nCase #3: 2\u003c/pre\u003e"}}]}