{"trustable":true,"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 class\u003d\"panel_content\"\u003e\"Well, it seems the first problem is too easy. I will let you know how foolish you are later.\" feng5166 says.\u003cbr\u003e\u003cbr\u003e\"The second problem is, given an positive integer N, we define an equation like this:\u003cbr\u003e\u0026nbsp;\u0026nbsp;N\u003da[1]+a[2]+a[3]+...+a[m];\u003cbr\u003e\u0026nbsp;\u0026nbsp;a[i]\u0026gt;0,1\u0026lt;\u003dm\u0026lt;\u003dN;\u003cbr\u003eMy question is how many different equations you can find for a given N.\u003cbr\u003eFor example, assume N is 4, we can find:\u003cbr\u003e\u0026nbsp;\u0026nbsp;4 \u003d 4;\u003cbr\u003e\u0026nbsp;\u0026nbsp;4 \u003d 3 + 1;\u003cbr\u003e\u0026nbsp;\u0026nbsp;4 \u003d 2 + 2;\u003cbr\u003e\u0026nbsp;\u0026nbsp;4 \u003d 2 + 1 + 1;\u003cbr\u003e\u0026nbsp;\u0026nbsp;4 \u003d 1 + 1 + 1 + 1;\u003cbr\u003eso the result is 5 when N is 4. Note that \"4 \u003d 3 + 1\" and \"4 \u003d 1 + 3\" is the same in this problem. Now, you do it!\"\u003cbr\u003e\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"The input contains several test cases. Each test case contains a positive integer N(1\u0026lt;\u003dN\u0026lt;\u003d120) which is mentioned above. The input is terminated by the end of file.\u003cbr\u003e"}},{"title":"Output","value":{"format":"HTML","content":"For each test case, you have to output a line contains an integer P which indicate the different equations you have found.\u003cbr\u003e"}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\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\u003e4\r\n10\r\n20\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e5\r\n42\r\n627\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}