{"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":"\u003cscript type\u003d\u0027text/x-mathjax-config\u0027\u003eMathJax.Hub.Config({tex2jax: { inlineMath: [[\u0027$\u0027,\u0027$\u0027]] } }); \u003c/script\u003e\n\u003cscript type\u003d\u0027text/javascript\u0027 src\u003d\u0027https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\u0027\u003e\u003c/script\u003e\n\u003cscript type\u003d\u0027text/javascript\u0027\u003esetTimeout(function(){MathJax.Hub.Queue([\u0027Typeset\u0027, MathJax.Hub, \u0027left_view\u0027]);}, 2000);\u003c/script\u003e\n\u003cdiv class\u003d\"panel_content\"\u003e\n 阿威在入门数论学习之前,她 选择从研究素数入手。会长大人想请你帮忙写一个程序判断某个数字是否为素数。阿威队长权力遮天蔽日,她 不喜欢2这个数字,所以 她 不认为 2 是素数。阿威队长就是大名鼎鼎的潘会长,所以我们要遵循领导的意愿,所以你的程序在判断素数的时候,如果是2,不能判断成2为素数\n \u003cbr\u003e \n\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"潘会长告诉大家这是多组输入噢\u003cbr\u003e\n每个输入行包含一个整数。当读入数据是小于等于0的数,代表输入结束。保证输入数据包含最多266个待判断素数的数字,每个数字小于或等于16666\n\u003cbr\u003e"}},{"title":"Output","value":{"format":"HTML","content":"输出应由每个数字的一行组成,其中每行首先列出问题编号,后跟冒号和空格,后跟“yes”或着“no”。\n\u003cbr\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre\u003e2\n4\n17\n13\n5\n1\n0\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre\u003e1: no\n2: no\n3: yes\n4: yes\n5: yes\n6: no\u003c/pre\u003e"}}]}