{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003chtml\u003e\n \u003chead\u003e\u003c/head\u003e\n \u003cbody\u003e\n \u003cspan class\u003d\"solution-visible-txt\"\u003e\u003c/span\u003e\n \u003cp\u003e\u0026nbsp;\u003c/p\u003e \n \u003cp\u003ecalculate whether the number is prime or not .\u003c/p\u003e \n \u003ch3\u003eInput\u003c/h3\u003e \n \u003cp\u003eThe first line of the input contains T testcases, T lines follow \u003c/p\u003e \n \u003cp\u003e Each of T line contains an integer N which has to be tested for primality \u003c/p\u003e \n \u003ch3\u003eOutput\u003c/h3\u003e \n \u003cp\u003e For each test case output in a separate line, \"yes\" if the number is prime else \"no\" \u003c/p\u003e \n \u003ch3\u003eConstraints\u003c/h3\u003e \n \u003cp\u003e 1\u0026lt;\u003dT\u0026lt;\u003d20\u003cbr\u003e 1\u0026lt;\u003dN\u0026lt;\u003d10000\u003cbr\u003e 1\u0026lt;\u003dM\u0026lt;\u003d10000 \u003c/p\u003e \n \u003cpre\u003e\u003cb\u003eInput:\u003c/b\u003e\n5\n23\n13\n20\n1000\n99991\n\n\u003cb\u003eOutput:\u003c/b\u003e\nyes\nyes\nno\nno\nyes\n\u003c/pre\u003e\n \u003c/body\u003e\n\u003c/html\u003e"}}]}