{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cdiv id\u003d\"yass_top_edge_dummy\" style\u003d\"width: 1px; height: 1px; padding: 0px; margin: -9px 0px 0px; border-width: 0px; display: block;\"\u003e\r\n\t\u0026nbsp;\u003c/div\u003e\r\n\u003cdiv id\u003d\"yass_top_edge\" style\u003d\"background-image: url(\u0026quot;chrome://yass/content/edgebgtop.png\u0026quot;); background-attachment: scroll; background-position: center bottom; padding: 0px; margin: 0px 0px 8px -8px; border-width: 0px; height: 0px; display: block; width: 921px;\"\u003e\r\n\t\u0026nbsp;\u003c/div\u003e\r\n\u003cstyle type\u003d\"text/css\"\u003e\r\nh1,h2,h3,h4,h5,h6{margin-bottom:0;}div.textBG p{margin: 0 0 0.0001pt;}\u003c/style\u003e\r\n\u003cp\u003e\r\n\t\u0026nbsp;\u003c/p\u003e\r\n\u003cp\u003e\r\n\tThe national flag of Bangladesh is bottle green in color and rectangular in size with the \u003cspan class\u003d\"textbf\"\u003elength\u003c/span\u003e (\u003cspan class\u003d\"MATH\"\u003e\u003ci\u003eL\u003c/i\u003e\u003c/span\u003e) to \u003cspan class\u003d\"textbf\"\u003ewidth\u003c/span\u003e ratio of 10:6. It bears a red circle on the background of green. It maintains the \u003cspan class\u003d\"textbf\"\u003elength\u003c/span\u003e (\u003cspan class\u003d\"MATH\"\u003e\u003ci\u003eL\u003c/i\u003e\u003c/span\u003e) to \u003cspan class\u003d\"textbf\"\u003eradius\u003c/span\u003e ratio of 5:1 (If the \u003cspan class\u003d\"textbf\"\u003elength\u003c/span\u003e is 10 then \u003cspan class\u003d\"textbf\"\u003ewidth\u003c/span\u003e should be 6 and \u003cspan class\u003d\"textbf\"\u003eradius\u003c/span\u003e should be 2). The color in the background represents the greenery of Bangladesh while the red circle symbolizes the rising sun and the sacrifice of lives in our freedom fight.\u003c/p\u003e\r\n\u003cp\u003e\r\n\t\u0026nbsp;\u003c/p\u003e\r\n\u003cdiv align\u003d\"CENTER\"\u003e\r\n\u003c!-- MATH\r\n $\\epsfbox{p12578.eps}$\r\n --\u003e\t\u003cimg align\u003d\"BOTTOM\" alt\u003d\"\\epsfbox{p12578.eps}\" border\u003d\"0\" height\u003d\"254\" src\u003d\"http://uva.onlinejudge.org/external/125/p12578.png\" width\u003d\"792\" /\u003e\u003c/div\u003e\r\n\u003cp\u003e\r\n\t\u0026nbsp;\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003e\r\n\tFirst line of input will contain the number of test cases, \u003cspan class\u003d\"MATH\"\u003e\u003cspan data-scayt_word\u003d\"T100\" data-scaytid\u003d\"1\"\u003e\u003ci\u003eT\u003c/i\u003e\u003cimg align\u003d\"MIDDLE\" alt\u003d\"$ \\le$\" border\u003d\"0\" height\u003d\"31\" src\u003d\"http://uva.onlinejudge.org/external/125/12578img2.png\" width\u003d\"18\" /\u003e100\u003c/span\u003e\u003c/span\u003e. Then there follows \u003cspan class\u003d\"MATH\"\u003e\u003ci\u003eT\u003c/i\u003e\u003c/span\u003e lines, each containing a positive integer \u003c!-- MATH\r\n $L \\le 1000$\r\n --\u003e\u003cspan class\u003d\"MATH\"\u003e\u003cspan data-scayt_word\u003d\"L1000\" data-scaytid\u003d\"2\"\u003e\u003ci\u003eL\u003c/i\u003e\u003cimg align\u003d\"MIDDLE\" alt\u003d\"$ \\le$\" border\u003d\"0\" height\u003d\"31\" src\u003d\"http://uva.onlinejudge.org/external/125/12578img2.png\" width\u003d\"18\" /\u003e1000\u003c/span\u003e\u003c/span\u003e, representing length of the flag.\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003e\r\n\tFor each test case output is a line with two space separated real numbers containing exactly two digits after decimal point. Two numbers represent the area of red and green portion respectively.\u003c/p\u003e\r\n\u003cp\u003e\r\n\t\u0026nbsp;\u003c/p\u003e\r\n\u003cp\u003e\r\n\t\u003cbr /\u003e\r\n\t\u003cspan class\u003d\"textbf\"\u003eNote:\u003c/span\u003e Pi is considered to be \u003c!-- MATH\r\n $\\arccos( -1 )$\r\n --\u003e\u003cspan class\u003d\"MATH\"\u003e\u003cspan data-scayt_word\u003d\"arccos\" data-scaytid\u003d\"3\"\u003earccos\u003c/span\u003e(- 1)\u003c/span\u003e.\u003c/p\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre\u003e\r\n1\r\n10\r\n\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre\u003e\r\n12.57 47.43\r\n\u003c/pre\u003e\r\n\u003chr /\u003e"}}]}