{"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":"MD","content":"给定一个正整数n,如果1/n是以十进制为基数的无限小数则输出“Yes”,否则输出“No”。"}},{"title":"Input","value":{"format":"MD","content":"第一行包含一个T(1\u003c\u003dT\u003c\u003d100),表示测试样例数量;\n接下来每一行输入一个正整数n(1\u003c\u003dn\u003c\u003d100)。"}},{"title":"Output","value":{"format":"MD","content":"输出T行,每行输出“Yes”或者“No”。"}},{"title":"Example","value":{"format":"MD","content":"Input\n2\n5\n3\nOutput\nNo\nYes"}},{"title":"Note","value":{"format":"MD","content":"1/5\u003d0.2, which is a finite decimal.\n\n1/3\u003d0.3333·····, which is an infinite decimal."}}]}