{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cdiv class\u003d\"Section1\"\u003e\r\n\t\u003cp class\u003d\"MsoNormal\"\u003e\r\n\t\tLondon Olympics is approaching very shortly \u0026ndash; in just 3 years. Three years might not sound as that small a time to say \u0026lsquo;just\u0026rsquo;, but it is indeed for those who have to organize the competition. There are so many things to do \u0026ndash; preparing the venues, building the Olympic village for accommodating athletes and officials, improving the transportation of the entire city as the venues are located all over the city and also there will be great number of tourists / spectators during the Olympics.\u003c/p\u003e\r\n\t\u003cp class\u003d\"MsoNormal\"\u003e\r\n\u003c!--[if gte vml 1]\u003e\u003cv:shapetype id\u003d\"_x0000_t202\"\r\n coordsize\u003d\"21600,21600\" o:spt\u003d\"202\" path\u003d\"m,l,21600r21600,l21600,xe\"\u003e\r\n \u003cv:stroke joinstyle\u003d\"miter\"/\u003e\r\n \u003cv:path gradientshapeok\u003d\"t\" o:connecttype\u003d\"rect\"/\u003e\r\n\u003c/v:shapetype\u003e\u003cv:shape id\u003d\"_x0000_s1031\" type\u003d\"#_x0000_t202\" style\u003d\u0027position:absolute;\r\n margin-left:0;margin-top:4.95pt;width:248.2pt;height:180.7pt;z-index:2;\r\n mso-wrap-distance-left:0;mso-wrap-distance-right:0;mso-position-horizontal:left\u0027\r\n stroked\u003d\"f\"\u003e\r\n \u003cv:fill color2\u003d\"black\"/\u003e\r\n \u003cv:textbox inset\u003d\"0,0,0,0\"\u003e\r\n \u003c![if !mso]\u003e\r\n \u003ctable cellpadding\u003d0 cellspacing\u003d0 width\u003d\"100%\"\u003e\r\n \u003ctr\u003e\r\n \u003ctd\u003e\u003c![endif]\u003e\r\n \u003cdiv\u003e\r\n \u003cp class\u003dMsoCaption\u003e\u003cspan style\u003d\u0027font-size:10.0pt;mso-fareast-language:\r\n EN-US\u0027\u003e\u003cv:shapetype id\u003d\"_x0000_t75\" coordsize\u003d\"21600,21600\" o:spt\u003d\"75\"\r\n o:preferrelative\u003d\"t\" path\u003d\"m@4@5l@4@11@9@11@9@5xe\" filled\u003d\"f\" stroked\u003d\"f\"\u003e\r\n \u003cv:stroke joinstyle\u003d\"miter\"/\u003e\r\n \u003cv:formulas\u003e\r\n \u003cv:f eqn\u003d\"if lineDrawn pixelLineWidth 0\"/\u003e\r\n \u003cv:f eqn\u003d\"sum @0 1 0\"/\u003e\r\n \u003cv:f eqn\u003d\"sum 0 0 @1\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @2 1 2\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @3 21600 pixelWidth\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @3 21600 pixelHeight\"/\u003e\r\n \u003cv:f eqn\u003d\"sum @0 0 1\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @6 1 2\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @7 21600 pixelWidth\"/\u003e\r\n \u003cv:f eqn\u003d\"sum @8 21600 0\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @7 21600 pixelHeight\"/\u003e\r\n \u003cv:f eqn\u003d\"sum @10 21600 0\"/\u003e\r\n \u003c/v:formulas\u003e\r\n \u003cv:path o:extrusionok\u003d\"f\" gradientshapeok\u003d\"t\" o:connecttype\u003d\"rect\"/\u003e\r\n \u003co:lock v:ext\u003d\"edit\" aspectratio\u003d\"t\"/\u003e\r\n \u003c/v:shapetype\u003e\u003cv:shape id\u003d\"_x0000_i1027\" type\u003d\"#_x0000_t75\" style\u003d\u0027width:249pt;\r\n height:2in\u0027 filled\u003d\"t\"\u003e\r\n \u003cv:fill color2\u003d\"black\"/\u003e\r\n \u003cv:imagedata src\u003d\"http://uva.onlinejudge.org/external/116/a_files/image001.jpg\" o:title\u003d\"\"/\u003e\r\n \u003c/v:shape\u003e\u003c/span\u003e\u003cspan\r\n style\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003eGeometric\r\n Model\u003c/p\u003e\r\n \u003c/div\u003e\r\n \u003c![if !mso]\u003e\u003c/td\u003e\r\n \u003c/tr\u003e\r\n \u003c/table\u003e\r\n \u003c![endif]\u003e\u003c/v:textbox\u003e\r\n \u003cw:wrap type\u003d\"square\" side\u003d\"largest\"/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]--\u003e\u003c!--[if !vml]--\u003e\t\t\u003cimg align\u003d\"left\" alt\u003d\"Text Box: Geometric Model\" height\u003d\"245\" src\u003d\"http://uva.onlinejudge.org/external/116/p11646a.gif\" v:shapes\u003d\"_x0000_s1031\" width\u003d\"335\" /\u003e\u003c!--[endif]--\u003e\u003c!--[if mso \u0026 !supportInlineShapes \u0026 supportFields]\u003e\u003cspan\r\nstyle\u003d\u0027mso-element:field-begin;mso-field-lock:yes\u0027\u003e\u003c/span\u003e\u003cspan\r\nstyle\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003eSHAPE \u003cspan\r\nstyle\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003e\\* MERGEFORMAT \u003cspan style\u003d\u0027mso-element:field-separator\u0027\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003c!--[if gte vml 1]\u003e\u003cv:shape\r\n id\u003d\"_x0000_s1046\" type\u003d\"#_x0000_t202\" style\u003d\u0027width:236.95pt;height:171.85pt;\r\n mso-wrap-distance-left:0;mso-wrap-distance-right:0;\r\n mso-position-horizontal-relative:char;mso-position-vertical-relative:line\u0027\r\n stroked\u003d\"f\"\u003e\r\n \u003cv:fill color2\u003d\"black\"/\u003e\r\n \u003cv:textbox inset\u003d\"0,0,0,0\"\u003e\r\n \u003c![if !mso]\u003e\r\n \u003ctable cellpadding\u003d0 cellspacing\u003d0 width\u003d\"100%\"\u003e\r\n \u003ctr\u003e\r\n \u003ctd\u003e\u003c![endif]\u003e\r\n \u003cdiv\u003e\r\n \u003cp class\u003dMsoCaption\u003e\u003cspan style\u003d\u0027font-size:10.0pt;mso-fareast-language:\r\n EN-US\u0027\u003e\u003cv:shape id\u003d\"_x0000_i1028\" type\u003d\"#_x0000_t75\" style\u003d\u0027width:237pt;\r\n height:150pt\u0027 filled\u003d\"t\"\u003e\r\n \u003cv:fill color2\u003d\"black\"/\u003e\r\n \u003cv:imagedata src\u003d\"http://uva.onlinejudge.org/external/116/a_files/image003.jpg\" o:title\u003d\"\"/\u003e\r\n \u003c/v:shape\u003e\u003c/span\u003e\u003cspan\r\n style\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003eActual View\u003c/p\u003e\r\n \u003c/div\u003e\r\n \u003c![if !mso]\u003e\u003c/td\u003e\r\n \u003c/tr\u003e\r\n \u003c/table\u003e\r\n \u003c![endif]\u003e\u003c/v:textbox\u003e\r\n \u003cw:wrap type\u003d\"none\"/\u003e\r\n \u003cw:anchorlock/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]--\u003e\u003c!--[if !vml]--\u003e\u003cimg alt\u003d\"Text Box: Actual View\" height\u003d\"234\" src\u003d\"http://uva.onlinejudge.org/external/116/p11646b.gif\" v:shapes\u003d\"_x0000_s1046\" width\u003d\"320\" /\u003e\u003c!--[endif]--\u003e\u003c!--[if mso \u0026 !supportInlineShapes \u0026 supportFields]\u003e\u003cv:shape\r\n id\u003d\"_x0000_i1025\" type\u003d\"#_x0000_t75\" style\u003d\u0027width:236.95pt;height:171.85pt\u0027\u003e\r\n \u003cv:imagedata croptop\u003d\"-65520f\" cropbottom\u003d\"65520f\"/\u003e\r\n\u003c/v:shape\u003e\u003cspan style\u003d\u0027mso-element:field-end\u0027\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003c/p\u003e\r\n\t\u003cp class\u003d\"MsoNormal\"\u003e\r\n\t\t\u003co:p\u003e\u0026nbsp;\u003c/o:p\u003e\u003c/p\u003e\r\n\t\u003cp class\u003d\"MsoNormal\" style\u003d\"text-align:justify\"\u003e\r\n\t\tOne of the most important tasks is to build the stadium. You are appointed as a programmer to help things out in certain matters \u0026ndash; more specifically in designing and building the athletics tracks. After some study, you find out that athletics tracks have a general shape of a rectangle with two sliced circles on two ends. Now the turf that is placed inside this rectangle is prepared elsewhere and comes in different shapes \u0026ndash; different length to width ratios. You know one thing for certain \u0026ndash; your track should have a perimeter of 400 meters. That\u0026rsquo;s the standard length for athletics tracks. You are supplied with the design parameter \u0026ndash; length to width ratio. You are also told that the sliced circles will be such that they are part of the same circle. You have to find the length and width of the rectangle.\u003c/p\u003e\r\n\t\u003cp class\u003d\"MsoNormal\" style\u003d\"text-align:justify\"\u003e\r\n\t\t\u003cb style\u003d\"mso-bidi-font-weight:\r\nnormal\"\u003e\u003cspan style\u003d\"font-size:16.0pt;mso-bidi-font-size:12.0pt\"\u003e\u003co:p\u003e\u0026nbsp;\u003c/o:p\u003e\u003c/span\u003e\u003c/b\u003e\u003c/p\u003e\r\n\t\u003cp class\u003d\"MsoNormal\" style\u003d\"text-align:justify\"\u003e\r\n\t\t\u003cb style\u003d\"mso-bidi-font-weight:\r\nnormal\"\u003e\u003cspan style\u003d\"font-size:16.0pt;mso-bidi-font-size:12.0pt;font-family:\r\nArial\"\u003eInput\u003c/span\u003e\u003c/b\u003e\u003cbr /\u003e\r\n\t\tThere will be at most 1000 test cases. Each test case will be given in one line. It will contain ratio of the length and width of the rectangle in the format \u0026ndash; \u0026ldquo;a : b\u0026rdquo;. Here, a and b will be integers and both will be between 1 and 1000 (inclusive).\u003c/p\u003e\r\n\t\u003cp class\u003d\"MsoNormal\"\u003e\r\n\t\t\u003co:p\u003e\u0026nbsp;\u003c/o:p\u003e\u003c/p\u003e\r\n\t\u003cp class\u003d\"MsoNormal\"\u003e\r\n\t\t\u003cb style\u003d\"mso-bidi-font-weight:normal\"\u003e\u003cspan style\u003d\"font-size:16.0pt;mso-bidi-font-size:12.0pt;font-family:Arial\"\u003eOutput\u003co:p\u003e\u003c/o:p\u003e\u003c/span\u003e\u003c/b\u003e\u003c/p\u003e\r\n\t\u003cp class\u003d\"MsoNormal\"\u003e\r\n\t\tFor each test case, output a line in the following format \u0026ndash; \u0026ldquo;Case n: L W\u0026rdquo; where n is the case no (starting from 1) and L and W are length and width of the rectangle (in meters) respectively. You can output as many digits as you want after the decimal point (at least 6 digits). Output will be verified by a \u003cspan data-scayt_word\u003d\"validator\" data-scaytid\u003d\"12\"\u003evalidator\u003c/span\u003e for \u003cspan data-scayt_word\u003d\"1E-5\" data-scaytid\u003d\"2\"\u003e1E-5\u003c/span\u003e precision.\u003c/p\u003e\r\n\t\u003ch1 align\u003d\"left\" style\u003d\"text-align:left\"\u003e\r\n\u003c!--[if !supportLists]--\u003e\t\t\u003cspan style\u003d\"mso-bidi-font-size:12.0pt;font-style:normal\"\u003e\u003cspan style\u003d\"mso-list:Ignore\"\u003e\u003cspan style\u003d\"font:7.0pt \u0026quot;Times New Roman\u0026quot;\"\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c!--[endif]--\u003e\u003cspan style\u003d\"mso-bidi-font-size:12.0pt;\r\nfont-style:normal\"\u003e\u003co:p\u003e\u0026nbsp;\u003c/o:p\u003e\u003c/span\u003e\u003c/h1\u003e\r\n\t\u003ch1 align\u003d\"left\" style\u003d\"margin-left:0in;text-align:left;text-indent:0in;\r\nmso-list:none;tab-stops:.5in\"\u003e\r\n\t\t\u003cb\u003e\u003cspan style\u003d\"font-size:16.0pt;mso-bidi-font-size:\r\n10.0pt;font-family:Arial;font-style:normal\"\u003eSample Input\u003cspan style\u003d\"mso-spacerun:yes\"\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003c/span\u003eOutput for Sample Input\u003co:p\u003e\u003c/o:p\u003e\u003c/span\u003e\u003c/b\u003e\u003c/h1\u003e\r\n\t\u003ctable border\u003d\"0\" cellpadding\u003d\"0\" cellspacing\u003d\"0\" class\u003d\"MsoNormalTable\" style\u003d\"margin-left:-.25pt;border-collapse:collapse;mso-padding-alt:0in 5.4pt 0in 5.4pt\"\u003e\r\n\t\t\u003ctbody\u003e\r\n\t\t\t\u003ctr style\u003d\"mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes;\r\n height:13.6pt\"\u003e\r\n\t\t\t\t\u003ctd style\u003d\"width:222.55pt;border:solid black 1.0pt;\r\n border-right:none;mso-border-top-alt:solid black .5pt;mso-border-left-alt:\r\n solid black .5pt;mso-border-bottom-alt:solid black .5pt;background:#CCCCCC;\r\n padding:0in 5.4pt 0in 5.4pt;height:13.6pt\" valign\u003d\"top\" width\u003d\"297\"\u003e\r\n\t\t\t\t\t\u003cp class\u003d\"MsoNormal\" style\u003d\"layout-grid-mode:char\"\u003e\r\n\t\t\t\t\t\t\u003cspan style\u003d\"font-family:\r\n \u0026quot;Courier New\u0026quot;\"\u003e3 : 2\u003c/span\u003e\u003cbr /\u003e\r\n\t\t\t\t\t\t\u003cspan class\u003d\"Apple-style-span\" style\u003d\"font-family: \u0027Courier New\u0027; \"\u003e5 : 4\u003c/span\u003e\u003c/p\u003e\r\n\t\t\t\t\u003c/td\u003e\r\n\t\t\t\t\u003ctd style\u003d\"width:279.5pt;border:solid black 1.0pt;\r\n mso-border-alt:solid black .5pt;background:#CCCCCC;padding:0in 5.4pt 0in 5.4pt;\r\n height:13.6pt\" valign\u003d\"top\" width\u003d\"373\"\u003e\r\n\t\t\t\t\t\u003cp class\u003d\"MsoNormal\" style\u003d\"layout-grid-mode:char\"\u003e\r\n\t\t\t\t\t\t\u003cspan style\u003d\"font-family:\r\n \u0026quot;Courier New\u0026quot;\"\u003eCase 1: 117.1858168913 78.1238779275\u003c/span\u003e\u003cbr /\u003e\r\n\t\t\t\t\t\t\u003cspan class\u003d\"Apple-style-span\" style\u003d\"font-family: \u0027Courier New\u0027; \"\u003eCase 2: 107.2909560477 85.8327648381\u003c/span\u003e\u003c/p\u003e\r\n\t\t\t\t\u003c/td\u003e\r\n\t\t\t\u003c/tr\u003e\r\n\t\t\u003c/tbody\u003e\r\n\t\u003c/table\u003e\r\n\t\u003cdiv align\u003d\"center\" class\u003d\"MsoNormal\" style\u003d\"text-align:center;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt\"\u003e\r\n\t\t\u0026nbsp;\u003c/div\u003e\r\n\t\u003cp class\u003d\"MsoNormal\" style\u003d\"text-align:justify;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt\"\u003e\r\n\t\t\u0026nbsp;\u003c/p\u003e\r\n\u003c/div\u003e"}}]}