<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-841486572422017488</id><updated>2024-12-19T09:03:14.562+05:30</updated><category term="Python"/><category term="Haker Rank Solutions"/><category term="competitive programming"/><category term="Programming Languages"/><category term="Technology"/><category term="Operating System"/><category term="Android"/><category term="Computer"/><category term="Database Management System"/><category term="Input Device"/><category term="Linux"/><category term="Machine Learning"/><category term="Numpy"/><category term="Smarthphones"/><category term="Software"/><category term="Technology News"/><title type='text'>Tech Highland</title><subtitle type='html'>Technology News, Latest Gadgets, How-To Article, New Information About Modern World: Get Programming Knowledge, laptops, news, internet, mobile phones, hardware, software and other technology updates on gadgets at techighland.blogspot.com. Complete tech blog.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-5403561896244956183</id><published>2020-06-03T16:24:00.001+05:30</published><updated>2020-06-03T16:24:55.828+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Download Remove China Apps By OneTouchAppLabs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVlCPlCD2VUMSRg8gwrBnAg75ohd0v0UTPSCXWwQ3VGy-Xtd_f7-rjfMMAhxH37CBv0LKH5hHheFM8Ci9xXOphFIblALm-lQ4xeadKGITusbAeS8CgjL-Jhp9Zb74sna92N96UN78aBWI4/s1600/16020fb48ca429938b3f38f5fd8b5a5605666e2f.jpeg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVlCPlCD2VUMSRg8gwrBnAg75ohd0v0UTPSCXWwQ3VGy-Xtd_f7-rjfMMAhxH37CBv0LKH5hHheFM8Ci9xXOphFIblALm-lQ4xeadKGITusbAeS8CgjL-Jhp9Zb74sna92N96UN78aBWI4/s640/16020fb48ca429938b3f38f5fd8b5a5605666e2f.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-large;&quot;&gt;&lt;a href=&quot;https://drive.google.com/uc?export=download&amp;amp;id=1RCobkIjEKs00hfZnjYxxFuP7vr6uhWZ3&quot; target=&quot;_blank&quot;&gt;Download&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;Center&quot; style=&quot;background-color: white; border-collapse: collapse; border-color: rgb(255, 128, 117) rgb(255, 128, 117) rgb(204, 204, 204); border-image: initial; border-spacing: 0px; border-style: solid; border-width: 1px; color: #1a1a1a; font-family: Merriweather, Georgia, serif; font-size: 16px; line-height: 1.8em; margin-bottom: 16px;&quot;&gt;&lt;tbody style=&quot;border-bottom: 1px solid rgb(221, 221, 221); box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;Name of Application&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;Remove China Apps&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;background-color: #f2f2f2; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;Owner Name&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;OneTouch AppLabs&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;Country Name&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;India&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;background-color: #f2f2f2; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;Size of App&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;3.3 MB&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;Current Rating&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;4.9 Star (Rated for 3+)&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;background-color: #f2f2f2; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Category of App&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Boycott Chinese Products India&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;Platform&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(33, 103, 171); box-sizing: border-box; padding: 5px 3px 5px 7px;&quot;&gt;Android &amp;amp; iOS&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/5403561896244956183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/06/download-remove-china-apps-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/5403561896244956183'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/5403561896244956183'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/06/download-remove-china-apps-by.html' title='Download Remove China Apps By OneTouchAppLabs'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVlCPlCD2VUMSRg8gwrBnAg75ohd0v0UTPSCXWwQ3VGy-Xtd_f7-rjfMMAhxH37CBv0LKH5hHheFM8Ci9xXOphFIblALm-lQ4xeadKGITusbAeS8CgjL-Jhp9Zb74sna92N96UN78aBWI4/s72-c/16020fb48ca429938b3f38f5fd8b5a5605666e2f.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-6782335932306344754</id><published>2020-05-10T22:16:00.001+05:30</published><updated>2020-05-10T22:16:12.052+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Validating Credit Card Numbers - Hacker Rank Problem Solution Python Code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
You and Fredrick are good friends. Yesterday, Fredrick received&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;credit cards from&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ABCD Bank&lt;/span&gt;. He wants to verify whether his credit card numbers are valid or not. You happen to be great at regex so he is asking for your help!&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
A valid credit card from&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ABCD Bank&lt;/span&gt;&amp;nbsp;has the following characteristics:&lt;br /&gt;&lt;br /&gt;► It must start with a&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;or&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;br /&gt;► It must contain exactly&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;digits.&lt;br /&gt;► It must only consist of digits (&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;-&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;).&lt;br /&gt;► It may have digits in groups of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, separated by&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;one&lt;/span&gt;&amp;nbsp;hyphen&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; font-weight: normal; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;0.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.171ex;&quot; viewbox=&quot;0 -73.8 0 147.5&quot; width=&quot;0&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;-&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-10-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; font-weight: normal; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;0.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.171ex;&quot; viewbox=&quot;0 -73.8 0 147.5&quot; width=&quot;0&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&quot;&lt;/span&gt;.&lt;br /&gt;► It must&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 400; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;NOT&lt;/code&gt;&lt;/span&gt;&amp;nbsp;use any other separator like &#39;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-11-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;0.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.171ex;&quot; viewbox=&quot;0 -73.8 250 147.5&quot; width=&quot;0.581ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;&#39; , &#39;_&#39;, etc.&lt;br /&gt;► It must&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 400; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;NOT&lt;/code&gt;&lt;/span&gt;&amp;nbsp;have&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-12-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;or more consecutive repeated digits.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Examples&lt;/span&gt;:&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; bottom: -0.25em; font-family: inherit; font-size: 10.5px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 0; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Valid Credit Card Numbers&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;4253625879615786
4424424424442444
5122-2368-7954-3214
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; bottom: -0.25em; font-family: inherit; font-size: 10.5px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 0; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Invalid Credit Card Numbers&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;42536258796157867       #17 digits in card number → Invalid 
4424444424442444        #Consecutive digits are repeating 4 or more times → Invalid
5122-2368-7954 - 3214   #Separators other than &#39;-&#39; are used → Invalid
44244x4424442444        #Contains non digit characters → Invalid
0525362587961578        #Doesn&#39;t start with 4, 5 or 6 → Invalid
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line of input contains an integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;br /&gt;The next&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines contain credit card numbers.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 5558.6 936.9&quot; width=&quot;12.91ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M694 -11T694 -19T688 -33T678 -40Q671 -40 524 29T234 166L90 235Q83 240 83 250Q83 261 91 266Q664 540 678 540Q681 540 687 534T694 519T687 505Q686 504 417 376L151 250L417 124Q686 -4 687 -5Q694 -11 694 -19Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3000,0)&quot;&gt;&lt;path d=&quot;M694 -11T694 -19T688 -33T678 -40Q671 -40 524 29T234 166L90 235Q83 240 83 250Q83 261 91 266Q664 540 678 540Q681 540 687 534T694 519T687 505Q686 504 417 376L151 250L417 124Q686 -4 687 -5Q694 -11 694 -19Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4057,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Print &#39;Valid&#39; if the credit card number is valid. Otherwise, print &#39;Invalid&#39;. Do not print the quotes.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;6
4123456789123456
5123-4567-8912-3456
61234-567-8912-3456
4123356789123456
5133-3367-8912-3456
5123 - 3567 - 8912 - 3456
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Valid
Valid
Invalid
Valid
Invalid
Invalid
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
4123456789123456 :&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Valid&lt;/span&gt;&lt;br /&gt;5123-4567-8912-3456 :&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Valid&lt;/span&gt;&lt;br /&gt;61234&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;0.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.171ex;&quot; viewbox=&quot;0 -73.8 0 147.5&quot; width=&quot;0&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;-&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1501.5 936.9&quot; width=&quot;3.487ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;-8912-3456 :&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Invalid&lt;/span&gt;, because the card number is not divided into equal groups of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;br /&gt;4123356789123456 :&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Valid&lt;/span&gt;&lt;br /&gt;51&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;-&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;67-8912-3456 :&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Invalid&lt;/span&gt;, consecutive digits&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2002 936.9&quot; width=&quot;4.65ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is repeating&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;times.&lt;br /&gt;5123&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.171ex;&quot; viewbox=&quot;0 -360.8 1722.9 434.6&quot; width=&quot;4.002ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;g transform=&quot;translate(472,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;4567&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.171ex;&quot; viewbox=&quot;0 -360.8 1722.9 434.6&quot; width=&quot;4.002ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;g transform=&quot;translate(472,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;8912&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-10-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.171ex;&quot; viewbox=&quot;0 -360.8 1722.9 434.6&quot; width=&quot;4.002ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;g transform=&quot;translate(472,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;3456 :&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Invalid&lt;/span&gt;, because space &#39;&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-11-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;0.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.171ex;&quot; viewbox=&quot;0 -73.8 250 147.5&quot; width=&quot;0.581ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;&#39; and&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;-&lt;/code&gt;&amp;nbsp;are used as separators.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Enter your code here. Read input from STDIN. Print output to STDOUT&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;AllDigits&lt;/span&gt;(credit_card):
    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;digit &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;credit_card:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;0&#39; &lt;/span&gt;&amp;lt;= digit &amp;lt;= &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;9&#39;&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;pass&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;        else&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return False&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;    return True&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;ConsecutiveRepeatedDigits&lt;/span&gt;(credit_card):
    count = &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #6897bb;&quot;&gt;15&lt;/span&gt;):
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;credit_card[i] == credit_card[i + &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;]:
            count += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;            &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;count == &lt;span style=&quot;color: #6897bb;&quot;&gt;4&lt;/span&gt;:
                &lt;span style=&quot;color: #cc7832;&quot;&gt;return True&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;        else&lt;/span&gt;:
            count = &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;return False&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;DigitsAndHyphenOnly&lt;/span&gt;(credit_card):
    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;digit &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;credit_card:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;digit == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;-&#39; &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;or &lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;0&#39; &lt;/span&gt;&amp;lt;= digit &amp;lt;= &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;9&#39;&lt;/span&gt;):
            &lt;span style=&quot;color: #cc7832;&quot;&gt;pass&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;        else&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return False&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;    return True&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;DigitsSepratedCorrectly&lt;/span&gt;(credit_card):
    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #6897bb;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;len&lt;/span&gt;(credit_card)&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;5&lt;/span&gt;):
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;credit_card[i] != &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;-&#39;&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return False&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;    return True&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())):
    credit_card = &lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;()
    &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;AllDigits(credit_card) == &lt;span style=&quot;color: #cc7832;&quot;&gt;True&lt;/span&gt;:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;len&lt;/span&gt;(credit_card) != &lt;span style=&quot;color: #6897bb;&quot;&gt;16&lt;/span&gt;:
            &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;elif not &lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;4&#39; &lt;/span&gt;&amp;lt;= credit_card[&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;] &amp;lt;= &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;6&#39;&lt;/span&gt;):
            &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;elif &lt;/span&gt;ConsecutiveRepeatedDigits(credit_card) == &lt;span style=&quot;color: #cc7832;&quot;&gt;True&lt;/span&gt;:
            &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
            &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Valid&quot;&lt;/span&gt;)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;elif &lt;/span&gt;DigitsAndHyphenOnly(credit_card) == &lt;span style=&quot;color: #cc7832;&quot;&gt;True&lt;/span&gt;:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;DigitsSepratedCorrectly(credit_card) == &lt;span style=&quot;color: #cc7832;&quot;&gt;False&lt;/span&gt;:
            &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
            credit_card = credit_card.split(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;-&#39;&lt;/span&gt;)
            credit_card = &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&#39;&lt;/span&gt;.join(credit_card)
            &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;len&lt;/span&gt;(credit_card) != &lt;span style=&quot;color: #6897bb;&quot;&gt;16&lt;/span&gt;:
                &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
            &lt;span style=&quot;color: #cc7832;&quot;&gt;elif not &lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;4&#39; &lt;/span&gt;&amp;lt;= credit_card[&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;] &amp;lt;= &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;6&#39;&lt;/span&gt;):
                &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
            &lt;span style=&quot;color: #cc7832;&quot;&gt;elif &lt;/span&gt;ConsecutiveRepeatedDigits(credit_card) == &lt;span style=&quot;color: #cc7832;&quot;&gt;True&lt;/span&gt;:
                &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
            &lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
                &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Valid&quot;&lt;/span&gt;)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)


&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/6782335932306344754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/validating-credit-card-numbers-hacker.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/6782335932306344754'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/6782335932306344754'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/validating-credit-card-numbers-hacker.html' title='Validating Credit Card Numbers - Hacker Rank Problem Solution Python Code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-151144552077465136</id><published>2020-05-10T21:32:00.000+05:30</published><updated>2020-05-10T21:32:49.486+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Validating UID - Hacker rank python code solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ABCXYZ&lt;/span&gt;&amp;nbsp;company has up to&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1501.5 936.9&quot; width=&quot;3.487ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;employees.&lt;br /&gt;The company decides to create a unique identification number (UID) for each of its employees.&lt;br /&gt;The company has assigned you the task of validating all the randomly generated UIDs.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
A valid UID must follow the rules below:&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;It must contain at least&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;uppercase English alphabet characters.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;It must contain at least&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;digits (&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;-&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;).&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;It should only contain alphanumeric characters (&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 529.5 721.6&quot; width=&quot;1.23ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;-&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 468.5 721.6&quot; width=&quot;1.088ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M347 338Q337 338 294 349T231 360Q211 360 197 356T174 346T162 335T155 324L153 320Q150 317 138 317Q117 317 117 325Q117 330 120 339Q133 378 163 406T229 440Q241 442 246 442Q271 442 291 425T329 392T367 375Q389 375 411 408T434 441Q435 442 449 442H462Q468 436 468 434Q468 430 463 420T449 399T432 377T418 358L411 349Q368 298 275 214T160 106L148 94L163 93Q185 93 227 82T290 71Q328 71 360 90T402 140Q406 149 409 151T424 153Q443 153 443 143Q443 138 442 134Q425 72 376 31T278 -11Q252 -11 232 6T193 40T155 57Q111 57 76 -3Q70 -11 59 -11H54H41Q35 -5 35 -2Q35 13 93 84Q132 129 225 214T340 322Q352 338 347 338Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 750.5 936.9&quot; width=&quot;1.743ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;-&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 723.5 936.9&quot; width=&quot;1.68ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M58 8Q58 23 64 35Q64 36 329 334T596 635L586 637Q575 637 512 637H500H476Q442 637 420 635T365 624T311 598T266 548T228 469Q227 466 226 463T224 458T223 453T222 450L221 448Q218 443 202 443Q185 443 182 453L214 561Q228 606 241 651Q249 679 253 681Q256 683 487 683H718Q723 678 723 675Q723 673 717 649Q189 54 188 52L185 49H274Q369 50 377 51Q452 60 500 100T579 247Q587 272 590 277T603 282H607Q628 282 628 271Q547 5 541 2Q538 0 300 0H124Q58 0 58 8Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-10-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;-&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-11-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;).&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;No character should repeat.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;There must be exactly&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-12-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;characters in a valid UID.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains an integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 704.5 936.9&quot; width=&quot;1.636ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M40 437Q21 437 21 445Q21 450 37 501T71 602L88 651Q93 669 101 677H569H659Q691 677 697 676T704 667Q704 661 687 553T668 444Q668 437 649 437Q640 437 637 437T631 442L629 445Q629 451 635 490T641 551Q641 586 628 604T573 629Q568 630 515 631Q469 631 457 630T439 622Q438 621 368 343T298 60Q298 48 386 46Q418 46 427 45T436 36Q436 31 433 22Q429 4 424 1L422 0Q419 0 415 0Q410 0 363 1T228 2Q99 2 64 0H49Q43 6 43 9T45 27Q49 40 55 46H83H94Q174 46 189 55Q190 56 191 56Q196 59 201 76T241 233Q258 301 269 344Q339 619 339 625Q339 630 310 630H279Q212 630 191 624Q146 614 121 583T67 467Q60 445 57 441T43 437H40Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the number of test cases.&lt;br /&gt;The next&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 704.5 936.9&quot; width=&quot;1.636ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M40 437Q21 437 21 445Q21 450 37 501T71 602L88 651Q93 669 101 677H569H659Q691 677 697 676T704 667Q704 661 687 553T668 444Q668 437 649 437Q640 437 637 437T631 442L629 445Q629 451 635 490T641 551Q641 586 628 604T573 629Q568 630 515 631Q469 631 457 630T439 622Q438 621 368 343T298 60Q298 48 386 46Q418 46 427 45T436 36Q436 31 433 22Q429 4 424 1L422 0Q419 0 415 0Q410 0 363 1T228 2Q99 2 64 0H49Q43 6 43 9T45 27Q49 40 55 46H83H94Q174 46 189 55Q190 56 191 56Q196 59 201 76T241 233Q258 301 269 344Q339 619 339 625Q339 630 310 630H279Q212 630 191 624Q146 614 121 583T67 467Q60 445 57 441T43 437H40Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines contains an employee&#39;s UID.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
For each test case, print &#39;Valid&#39; if the UID is valid. Otherwise, print &#39;Invalid&#39;, on separate lines. Do not print the quotation marks.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;2
B1CD102354
B1CDEF2354
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Invalid
Valid
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;B1CD102354&lt;/span&gt;:&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is repeating → Invalid&lt;br /&gt;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;B1CDEF2354&lt;/span&gt;: Valid&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Enter your code here. Read input from STDIN. Print output to STDOUT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;UpperCaseCount&lt;/span&gt;(UID):
    count = &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;letter &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;UID:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;A&#39; &lt;/span&gt;&amp;lt;= letter &amp;lt;= &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;Z&#39;&lt;/span&gt;:
            count += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;count
&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;DigitCount&lt;/span&gt;(UID):
    count = &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;letter &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;UID:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;0&#39; &lt;/span&gt;&amp;lt;= letter &amp;lt;= &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;9&#39;&lt;/span&gt;:
            count += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;count

&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;AnyCharRepeated&lt;/span&gt;(UID):
    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;char &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;UID:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;UID.count(char) &amp;gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return True&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;    return False&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())):
    UID = &lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;()
    &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;len&lt;/span&gt;(UID) != &lt;span style=&quot;color: #6897bb;&quot;&gt;10&lt;/span&gt;:
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;elif &lt;/span&gt;UID.isalnum() == &lt;span style=&quot;color: #cc7832;&quot;&gt;False&lt;/span&gt;:
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;elif &lt;/span&gt;UpperCaseCount(UID) &amp;lt; &lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;:
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;elif &lt;/span&gt;DigitCount(UID) &amp;lt; &lt;span style=&quot;color: #6897bb;&quot;&gt;3&lt;/span&gt;:
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;elif &lt;/span&gt;AnyCharRepeated(UID) == &lt;span style=&quot;color: #cc7832;&quot;&gt;True&lt;/span&gt;:
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Invalid&quot;&lt;/span&gt;)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;Valid&quot;&lt;/span&gt;)&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/151144552077465136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/validating-uid-hacker-rank-python-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/151144552077465136'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/151144552077465136'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/validating-uid-hacker-rank-python-code.html' title='Validating UID - Hacker rank python code solution'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-3461383160433589747</id><published>2020-05-10T20:51:00.000+05:30</published><updated>2020-05-10T20:51:07.822+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Detect HTML Tags, Attributes and Attribute Values - Hacker Rank Python Code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
You are given an&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;HTML&lt;/span&gt;&amp;nbsp;code snippet of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines.&lt;br /&gt;Your task is to detect and print all the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;HTML&lt;/span&gt;&amp;nbsp;tags, attributes and attribute values.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Print the detected items in the following format:&lt;/div&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Tag1&lt;/span&gt;
&lt;span class=&quot;n&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Tag2&lt;/span&gt;
&lt;span class=&quot;o&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&amp;gt;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Attribute2&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Attribute_value2&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt;
&lt;span class=&quot;o&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&amp;gt;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Attribute2&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Attribute_value2&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt;
&lt;span class=&quot;o&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&amp;gt;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Attribute2&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Attribute_value2&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt;
&lt;span class=&quot;n&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Tag3&lt;/span&gt;
&lt;span class=&quot;o&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&amp;gt;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Attribute3&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Attribute_value3&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;-&amp;gt;&lt;/code&gt;&amp;nbsp;symbol indicates that the tag contains an attribute. It is immediately followed by the name of the attribute and the attribute value.&lt;br /&gt;The&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;&amp;gt;&lt;/code&gt;&amp;nbsp;symbol acts as a separator of attributes and attribute values.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
If an HTML tag has no attribute then simply print the name of the tag.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;Do not detect any&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;HTML&lt;/span&gt;&amp;nbsp;tag, attribute or attribute value inside the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;HTML&lt;/span&gt;&amp;nbsp;comment tags (&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;&amp;lt;!-- Comments --&amp;gt;&lt;/code&gt;). Comments can be multiline.&lt;br /&gt;All attributes have an attribute value.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains an integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the number of lines in the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;HTML&lt;/span&gt;&amp;nbsp;code snippet.&lt;br /&gt;The next&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines contain&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;HTML&lt;/span&gt;&amp;nbsp;code.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 5558.6 936.9&quot; width=&quot;12.91ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M694 -11T694 -19T688 -33T678 -40Q671 -40 524 29T234 166L90 235Q83 240 83 250Q83 261 91 266Q664 540 678 540Q681 540 687 534T694 519T687 505Q686 504 417 376L151 250L417 124Q686 -4 687 -5Q694 -11 694 -19Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3000,0)&quot;&gt;&lt;path d=&quot;M694 -11T694 -19T688 -33T678 -40Q671 -40 524 29T234 166L90 235Q83 240 83 250Q83 261 91 266Q664 540 678 540Q681 540 687 534T694 519T687 505Q686 504 417 376L151 250L417 124Q686 -4 687 -5Q694 -11 694 -19Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4057,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Print the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;HTML&lt;/span&gt;&amp;nbsp;tags, attributes and attribute values in order of their occurrence from top to bottom in the snippet.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Format your answers as explained in the problem statement.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;9
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;HTML&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;object type=&quot;application/x-flash&quot; 
  data=&quot;your-file.swf&quot; 
  width=&quot;0&quot; height=&quot;0&quot;&amp;gt;
  &amp;lt;!-- &amp;lt;param name=&quot;movie&quot; value=&quot;your-file.swf&quot; /&amp;gt; --&amp;gt;
  &amp;lt;param name=&quot;quality&quot; value=&quot;high&quot;/&amp;gt;
&amp;lt;/object&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;head
title
object
-&amp;gt; type &amp;gt; application/x-flash
-&amp;gt; data &amp;gt; your-file.swf
-&amp;gt; width &amp;gt; 0
-&amp;gt; height &amp;gt; 0
param
-&amp;gt; name &amp;gt; quality
-&amp;gt; value &amp;gt; high
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-size: 16px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-size: 16px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;head&lt;/span&gt;&amp;nbsp;tag: Print the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;head&lt;/span&gt;&amp;nbsp;tag only because it has no attribute.&lt;br /&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;title&lt;/span&gt;&amp;nbsp;tag: Print the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;title&lt;/span&gt;&amp;nbsp;tag only because it has no attribute.&lt;br /&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;object&lt;/span&gt;&amp;nbsp;tag: Print the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;object&lt;/span&gt;&amp;nbsp;tag. In the next&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines, print the attributes&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;type&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;data&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;width&lt;/span&gt;&amp;nbsp;and &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;height&lt;/span&gt;&amp;nbsp;along with their respective values.&lt;br /&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;!-- Comment --&amp;gt;&lt;/span&gt;&amp;nbsp;tag: Don&#39;t detect anything inside it.&lt;br /&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;param&lt;/span&gt;&amp;nbsp;tag: Print the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;param&lt;/span&gt;&amp;nbsp;tag. In the next&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines, print the attributes&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;name&lt;/span&gt;&amp;nbsp;along with &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; their respective&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;values&lt;/span&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;from &lt;/span&gt;html.parser &lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;HTMLParser


&lt;span style=&quot;color: #cc7832;&quot;&gt;class &lt;/span&gt;MyHTMLParser(HTMLParser):
    &lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;handle_starttag&lt;/span&gt;(&lt;span style=&quot;color: #94558d;&quot;&gt;self&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;tag&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;attrs):
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(tag)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;at &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;attrs:
            &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;-&amp;gt; {} &amp;gt; {}&quot;&lt;/span&gt;.format(at[&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;at[&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;]))

    &lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;handle_startendtag&lt;/span&gt;(&lt;span style=&quot;color: #94558d;&quot;&gt;self&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;tag&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;attrs):
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(tag)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;at &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;attrs:
            &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;-&amp;gt; {} &amp;gt; {}&quot;&lt;/span&gt;.format(at[&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;at[&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;]))


html = &lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())):
    html += &lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().rstrip()
    html += &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;
&lt;/span&gt;parser = MyHTMLParser()
parser.feed(html)
parser.close()&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/3461383160433589747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/detect-html-tags-attributes-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/3461383160433589747'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/3461383160433589747'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/detect-html-tags-attributes-and.html' title='Detect HTML Tags, Attributes and Attribute Values - Hacker Rank Python Code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-4408049281091888147</id><published>2020-05-10T20:23:00.002+05:30</published><updated>2020-05-10T20:23:59.109+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Triangle Quest - Hacker rank python code solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
You are given a positive integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Print a numerical triangle of height&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2611.9 936.9&quot; width=&quot;6.066ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1110,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2111,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;like the one below:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: #0e141e; font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;1
22
333
4444
55555
......
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Can you do it using only&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;arithmetic operations, a single&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;for&lt;/span&gt;&amp;nbsp;loop and print statement?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Use no more than two lines. The first line (the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;for&lt;/span&gt;&amp;nbsp;statement) is already written for you. You have to complete the print statement.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Note&lt;/span&gt;: Using anything related to strings will give a score of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;br /&gt;A single line containing integer,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 4557.6 1008.6&quot; width=&quot;10.585ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3000,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4057,0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;br /&gt;Print&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2611.9 936.9&quot; width=&quot;6.066ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1110,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2111,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines as explained above.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: #0e141e; font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;5
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: #0e141e; font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;1
22
333
4444&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: #0e141e; font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())): &lt;span style=&quot;color: grey;&quot;&gt;#More than 2 lines will result in 0 score. Do not leave a blank line also&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(i*(&lt;span style=&quot;color: #6897bb;&quot;&gt;10&lt;/span&gt;**i-&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;)//&lt;span style=&quot;color: #6897bb;&quot;&gt;9&lt;/span&gt;)&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: #0e141e; font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/4408049281091888147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/triangle-quest-hacker-rank-python-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4408049281091888147'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4408049281091888147'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/triangle-quest-hacker-rank-python-code.html' title='Triangle Quest - Hacker rank python code solution'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-5426524502213721612</id><published>2020-05-10T19:55:00.000+05:30</published><updated>2020-05-10T19:55:08.462+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Mod Divmod - Hacker rank python solution code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
One of the built-in functions of Python is&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;divmod&lt;/span&gt;, which takes two arguments&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 529.5 721.6&quot; width=&quot;1.23ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 429.5 936.9&quot; width=&quot;0.998ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and returns a tuple containing the quotient of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 1459.5 1223.9&quot; width=&quot;3.39ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(529,0)&quot;&gt;&lt;path d=&quot;M423 750Q432 750 438 744T444 730Q444 725 271 248T92 -240Q85 -250 75 -250Q68 -250 62 -245T56 -231Q56 -221 230 257T407 740Q411 750 423 750Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1030,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;first and then the remainder&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 529.5 721.6&quot; width=&quot;1.23ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
For example:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: #0e141e; font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; print divmod(177,10)
(17, 7)
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Here, the integer division is&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;177/10 =&amp;gt; 17&lt;/code&gt;&amp;nbsp;and the modulo operator is&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;177%10 =&amp;gt; 7&lt;/code&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Task&lt;/span&gt;&lt;br /&gt;Read in two integers,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 529.5 721.6&quot; width=&quot;1.23ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 429.5 936.9&quot; width=&quot;0.998ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, and print three lines.&lt;br /&gt;The first line is the integer division&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 1960 1223.9&quot; width=&quot;4.552ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(529,0)&quot;&gt;&lt;path d=&quot;M423 750Q432 750 438 744T444 730Q444 725 271 248T92 -240Q85 -250 75 -250Q68 -250 62 -245T56 -231Q56 -221 230 257T407 740Q411 750 423 750Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1030,0)&quot;&gt;&lt;path d=&quot;M423 750Q432 750 438 744T444 730Q444 725 271 248T92 -240Q85 -250 75 -250Q68 -250 62 -245T56 -231Q56 -221 230 257T407 740Q411 750 423 750Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1530,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;(While using Python2 remember to import&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;division&lt;/code&gt;&amp;nbsp;from&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;__future__&lt;/code&gt;).&lt;br /&gt;The second line is the result of the modulo operator:&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -863.1 1792.5 1008.6&quot; width=&quot;4.163ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(529,0)&quot;&gt;&lt;path d=&quot;M465 605Q428 605 394 614T340 632T319 641Q332 608 332 548Q332 458 293 403T202 347Q145 347 101 402T56 548Q56 637 101 693T202 750Q241 750 272 719Q359 642 464 642Q580 642 650 732Q662 748 668 749Q670 750 673 750Q682 750 688 743T693 726Q178 -47 170 -52Q166 -56 160 -56Q147 -56 142 -45Q137 -36 142 -27Q143 -24 363 304Q469 462 525 546T581 630Q528 605 465 605ZM207 385Q235 385 263 427T292 548Q292 617 267 664T200 712Q193 712 186 709T167 698T147 668T134 615Q132 595 132 548V527Q132 436 165 403Q183 385 203 385H207ZM500 146Q500 234 544 290T647 347Q699 347 737 292T776 146T737 0T646 -56Q590 -56 545 0T500 146ZM651 -18Q679 -18 707 24T736 146Q736 215 711 262T644 309Q637 309 630 306T611 295T591 265T578 212Q577 200 577 146V124Q577 -18 647 -18H651Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1363,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;br /&gt;The third line prints the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;divmod&lt;/span&gt;&amp;nbsp;of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 529.5 721.6&quot; width=&quot;1.23ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-10-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 429.5 936.9&quot; width=&quot;0.998ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;br /&gt;The first line contains the first integer,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-11-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 529.5 721.6&quot; width=&quot;1.23ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, and the second line contains the second integer,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-12-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 429.5 936.9&quot; width=&quot;0.998ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;br /&gt;Print the result as described above.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: #0e141e; font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;177
10
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: var(--color-text-dark-faded); font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: #0e141e; font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;17
7
(17, 7)&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: #0e141e; font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Enter your code here. Read input from STDIN. Print output to STDOUT&lt;/span&gt;a = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())
b = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())
&lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(a//b)
&lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(a%b)
&lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;divmod&lt;/span&gt;(a&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;b))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: #0e141e; font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/5426524502213721612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/mod-divmod-hacker-rank-python-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/5426524502213721612'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/5426524502213721612'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/mod-divmod-hacker-rank-python-solution.html' title='Mod Divmod - Hacker rank python solution code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-3195119367041943591</id><published>2020-05-10T19:50:00.004+05:30</published><updated>2020-05-10T19:50:51.549+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Finding the percentage - Hacker rank solution code python</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
You have a record of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;students. Each record contains the student&#39;s name, and their percent marks in Maths, Physics and Chemistry. The marks can be floating values. The user enters some integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;followed by the names and marks for&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;students. You are required to save the record in a dictionary data type. The user then enters a student&#39;s name. Output the average percentage marks obtained by that student, correct to two decimal places.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains the integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the number of students. The next&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines contains the name and marks obtained by that student separated by a space. The final line contains the name of a particular student previously listed.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 5058.1 1008.6&quot; width=&quot;11.748ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3000,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4057,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 7693.6 1008.6&quot; width=&quot;17.869ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M289 629Q289 635 232 637Q208 637 201 638T194 648Q194 649 196 659Q197 662 198 666T199 671T201 676T203 679T207 681T212 683T220 683T232 684Q238 684 262 684T307 683Q386 683 398 683T414 678Q415 674 451 396L487 117L510 154Q534 190 574 254T662 394Q837 673 839 675Q840 676 842 678T846 681L852 683H948Q965 683 988 683T1017 684Q1051 684 1051 673Q1051 668 1048 656T1045 643Q1041 637 1008 637Q968 636 957 634T939 623Q936 618 867 340T797 59Q797 55 798 54T805 50T822 48T855 46H886Q892 37 892 35Q892 19 885 5Q880 0 869 0Q864 0 828 1T736 2Q675 2 644 2T609 1Q592 1 592 11Q592 13 594 25Q598 41 602 43T625 46Q652 46 685 49Q699 52 704 61Q706 65 742 207T813 490T848 631L654 322Q458 10 453 5Q451 4 449 3Q444 0 433 0Q418 0 415 7Q413 11 374 317L335 624L267 354Q200 88 200 79Q206 46 272 46H282Q288 41 289 37T286 19Q282 3 278 1Q274 0 267 0Q265 0 255 0T221 1T157 2Q127 2 95 1T58 0Q43 0 39 2T35 11Q35 13 38 25T43 40Q45 46 65 46Q135 46 154 86Q158 92 223 354T289 629Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2886,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3415,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3867,0)&quot;&gt;&lt;path d=&quot;M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4388,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5135,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6192,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Print one line: The average of the marks obtained by the particular student correct to 2 decimal places.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Krishna 67 68 69&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Arjun 70 98 63&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Malika 52 56 60&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Malika&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;56.00&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Marks for Malika are&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4894.3 1223.9&quot; width=&quot;11.368ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M434 -231Q434 -244 428 -250H410Q281 -250 230 -184Q225 -177 222 -172T217 -161T213 -148T211 -133T210 -111T209 -84T209 -47T209 0Q209 21 209 53Q208 142 204 153Q203 154 203 155Q189 191 153 211T82 231Q71 231 68 234T65 250T68 266T82 269Q116 269 152 289T203 345Q208 356 208 377T209 529V579Q209 634 215 656T244 698Q270 724 324 740Q361 748 377 749Q379 749 390 749T408 750H428Q434 744 434 732Q434 719 431 716Q429 713 415 713Q362 710 332 689T296 647Q291 634 291 499V417Q291 370 288 353T271 314Q240 271 184 255L170 250L184 245Q202 239 220 230T262 196T290 137Q291 131 291 1Q291 -134 296 -147Q306 -174 339 -192T415 -213Q429 -213 431 -216Q434 -219 434 -231Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(500,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1501,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1946,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2947,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3392,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4393,0)&quot;&gt;&lt;path d=&quot;M65 731Q65 745 68 747T88 750Q171 750 216 725T279 670Q288 649 289 635T291 501Q292 362 293 357Q306 312 345 291T417 269Q428 269 431 266T434 250T431 234T417 231Q380 231 345 210T298 157Q293 143 292 121T291 -28V-79Q291 -134 285 -156T256 -198Q202 -250 89 -250Q71 -250 68 -247T65 -230Q65 -224 65 -223T66 -218T69 -214T77 -213Q91 -213 108 -210T146 -200T183 -177T207 -139Q208 -134 209 3L210 139Q223 196 280 230Q315 247 330 250Q305 257 280 270Q225 304 212 352L210 362L209 498Q208 635 207 640Q195 680 154 696T77 713Q68 713 67 716T65 731Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;whose average is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;3.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -1.338ex;&quot; viewbox=&quot;0 -1078.4 6141.5 1654.5&quot; width=&quot;14.264ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;g transform=&quot;translate(120,0)&quot;&gt;&lt;rect height=&quot;60&quot; stroke=&quot;none&quot; width=&quot;3344&quot; x=&quot;0&quot; y=&quot;220&quot;&gt;&lt;/rect&gt;&lt;g transform=&quot;translate(60,503)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(353,0) scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(707,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1258,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(353,0) scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1966,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2516,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(353,0) scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1495,-416)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3862,0)&quot;&gt;&lt;path d=&quot;M580 514Q580 525 596 525Q601 525 604 525T609 525T613 524T615 523T617 520T619 517T622 512Q659 438 720 381T831 300T927 263Q944 258 944 250T935 239T898 228T840 204Q696 134 622 -12Q618 -21 615 -22T600 -24Q580 -24 580 -17Q580 -13 585 0Q620 69 671 123L681 133H70Q56 140 56 153Q56 168 72 173H725L735 181Q774 211 852 250Q851 251 834 259T789 283T735 319L725 327H72Q56 332 56 347Q56 360 70 367H681L671 377Q638 412 609 458T580 514Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5140,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Harsh 25 26.5 28&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Anurag 26 28 30&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Harsh&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;26.50&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;math
&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())
    student_marks = {}
    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;_ &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(n):
        name&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;*line = &lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().split()
        scores = &lt;span style=&quot;color: #8888c6;&quot;&gt;list&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;map&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;float&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;line))
        student_marks[name] = scores
    query_name = &lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;()

value = student_marks[query_name]

&lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;format&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;sum&lt;/span&gt;(value)/&lt;span style=&quot;color: #8888c6;&quot;&gt;len&lt;/span&gt;(value)&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;.2f&#39;&lt;/span&gt;))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/3195119367041943591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/finding-percentage-hacker-rank-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/3195119367041943591'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/3195119367041943591'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/finding-percentage-hacker-rank-solution.html' title='Finding the percentage - Hacker rank solution code python'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-4302459174657044546</id><published>2020-05-09T17:08:00.000+05:30</published><updated>2020-05-09T17:08:10.198+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Find the Runner-Up Score! - Hacker Rank Solution Python Code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Given the participants&#39; score sheet for your University Sports Day, you are required to find the runner-up score. You are given&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;scores. Store them in a list and find the score of the runner-up.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. The second line contains an array&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 1029 1223.9&quot; width=&quot;2.39ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(750,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 278.5 1223.9&quot; width=&quot;0.647ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;integers each separated by a space.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 4770.1 1008.6&quot; width=&quot;11.079ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2712,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3769,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 8102.6 1223.9&quot; width=&quot;18.819ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2557,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3614,0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4364,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4643,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4988,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5544,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6601,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Print the runner-up score.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;5&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2 3 6 6 5&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;5&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Given list is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4840.2 1223.9&quot; width=&quot;11.242ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(779,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1224,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1724,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2169,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2670,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3115,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3616,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4061,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4561,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. The maximum score is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, second maximum is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Hence, we print&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;as the runner-up score.&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())
    arr = &lt;span style=&quot;color: #8888c6;&quot;&gt;map&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().split())
    arr = arr = &lt;span style=&quot;color: #8888c6;&quot;&gt;list&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;dict&lt;/span&gt;.fromkeys(arr))
    arr.sort(&lt;span style=&quot;color: #aa4926;&quot;&gt;reverse&lt;/span&gt;=&lt;span style=&quot;color: #cc7832;&quot;&gt;True&lt;/span&gt;)
    &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(arr[&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;])&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/4302459174657044546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/find-runner-up-score-hacker-rank.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4302459174657044546'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4302459174657044546'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/find-runner-up-score-hacker-rank.html' title='Find the Runner-Up Score! - Hacker Rank Solution Python Code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-4099415035265478152</id><published>2020-05-09T17:00:00.001+05:30</published><updated>2020-05-09T17:00:19.633+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>List Comprehensions - Hacker rank python solution code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Let&#39;s learn about list comprehensions! You are given three integers&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 2061.2 1080.4&quot; width=&quot;4.787ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M42 0H40Q26 0 26 11Q26 15 29 27Q33 41 36 43T55 46Q141 49 190 98Q200 108 306 224T411 342Q302 620 297 625Q288 636 234 637H206Q200 643 200 645T202 664Q206 677 212 683H226Q260 681 347 681Q380 681 408 681T453 682T473 682Q490 682 490 671Q490 670 488 658Q484 643 481 640T465 637Q434 634 411 620L488 426L541 485Q646 598 646 610Q646 628 622 635Q617 635 609 637Q594 637 594 648Q594 650 596 664Q600 677 606 683H618Q619 683 643 683T697 681T738 680Q828 680 837 683H845Q852 676 852 672Q850 647 840 637H824Q790 636 763 628T722 611T698 593L687 584Q687 585 592 480L505 384Q505 383 536 304T601 142T638 56Q648 47 699 46Q734 46 734 37Q734 35 732 23Q728 7 725 4T711 1Q708 1 678 1T589 2Q528 2 496 2T461 1Q444 1 444 10Q444 11 446 25Q448 35 450 39T455 44T464 46T480 47T506 54Q523 62 523 64Q522 64 476 181L429 299Q241 95 236 84Q232 76 232 72Q232 53 261 47Q262 47 267 47T273 46Q276 46 277 46T280 45T283 42T284 35Q284 26 282 19Q279 6 276 4T261 1Q258 1 243 1T201 2T142 2Q64 2 42 0Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(852,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1297,0)&quot;&gt;&lt;path d=&quot;M66 637Q54 637 49 637T39 638T32 641T30 647T33 664T42 682Q44 683 56 683Q104 680 165 680Q288 680 306 683H316Q322 677 322 674T320 656Q316 643 310 637H298Q242 637 242 624Q242 619 292 477T343 333L346 336Q350 340 358 349T379 373T411 410T454 461Q546 568 561 587T577 618Q577 634 545 637Q528 637 528 647Q528 649 530 661Q533 676 535 679T549 683Q551 683 578 682T657 680Q684 680 713 681T746 682Q763 682 763 673Q763 669 760 657T755 643Q753 637 734 637Q662 632 617 587Q608 578 477 424L348 273L322 169Q295 62 295 57Q295 46 363 46Q379 46 384 45T390 35Q390 33 388 23Q384 6 382 4T366 1Q361 1 324 1T232 2Q170 2 138 2T102 1Q84 1 84 9Q84 14 87 24Q88 27 89 30T90 35T91 39T93 42T96 44T101 45T107 45T116 46T129 46Q168 47 180 50T198 63Q201 68 227 171L252 274L129 623Q128 624 127 625T125 627T122 629T118 631T113 633T105 634T96 635T83 636T66 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 723.5 936.9&quot; width=&quot;1.68ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M58 8Q58 23 64 35Q64 36 329 334T596 635L586 637Q575 637 512 637H500H476Q442 637 420 635T365 624T311 598T266 548T228 469Q227 466 226 463T224 458T223 453T222 450L221 448Q218 443 202 443Q185 443 182 453L214 561Q228 606 241 651Q249 679 253 681Q256 683 487 683H718Q723 678 723 675Q723 673 717 649Q189 54 188 52L185 49H274Q369 50 377 51Q452 60 500 100T579 247Q587 272 590 277T603 282H607Q628 282 628 271Q547 5 541 2Q538 0 300 0H124Q58 0 58 8Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;representing the dimensions of a cuboid along with an integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. You have to print a list of all possible coordinates given by&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 2948.8 1223.9&quot; width=&quot;6.849ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M94 250Q94 319 104 381T127 488T164 576T202 643T244 695T277 729T302 750H315H319Q333 750 333 741Q333 738 316 720T275 667T226 581T184 443T167 250T184 58T225 -81T274 -167T316 -220T333 -241Q333 -250 318 -250H315H302L274 -226Q180 -141 137 -14T94 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(389,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(735,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1180,0)&quot;&gt;&lt;path d=&quot;M297 596Q297 627 318 644T361 661Q378 661 389 651T403 623Q403 595 384 576T340 557Q322 557 310 567T297 596ZM288 376Q288 405 262 405Q240 405 220 393T185 362T161 325T144 293L137 279Q135 278 121 278H107Q101 284 101 286T105 299Q126 348 164 391T252 441Q253 441 260 441T272 442Q296 441 316 432Q341 418 354 401T367 348V332L318 133Q267 -67 264 -75Q246 -125 194 -164T75 -204Q25 -204 7 -183T-12 -137Q-12 -110 7 -91T53 -71Q70 -71 82 -81T95 -112Q95 -148 63 -167Q69 -168 77 -168Q111 -168 139 -140T182 -74L193 -32Q204 11 219 72T251 197T278 308T289 365Q289 372 288 376Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1592,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2037,0)&quot;&gt;&lt;path d=&quot;M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2559,0)&quot;&gt;&lt;path d=&quot;M60 749L64 750Q69 750 74 750H86L114 726Q208 641 251 514T294 250Q294 182 284 119T261 12T224 -76T186 -143T145 -194T113 -227T90 -246Q87 -249 86 -250H74Q66 -250 63 -250T58 -247T55 -238Q56 -237 66 -225Q221 -64 221 250T66 725Q56 737 55 738Q55 746 60 749Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;on a 3D grid where the sum of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 3725.4 1080.4&quot; width=&quot;8.653ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(567,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1568,0)&quot;&gt;&lt;path d=&quot;M297 596Q297 627 318 644T361 661Q378 661 389 651T403 623Q403 595 384 576T340 557Q322 557 310 567T297 596ZM288 376Q288 405 262 405Q240 405 220 393T185 362T161 325T144 293L137 279Q135 278 121 278H107Q101 284 101 286T105 299Q126 348 164 391T252 441Q253 441 260 441T272 442Q296 441 316 432Q341 418 354 401T367 348V332L318 133Q267 -67 264 -75Q246 -125 194 -164T75 -204Q25 -204 7 -183T-12 -137Q-12 -110 7 -91T53 -71Q70 -71 82 -81T95 -112Q95 -148 63 -167Q69 -168 77 -168Q111 -168 139 -140T182 -74L193 -32Q204 11 219 72T251 197T278 308T289 365Q289 372 288 376Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2203,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3203,0)&quot;&gt;&lt;path d=&quot;M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is not equal to&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Here,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 14015.2 1080.4&quot; width=&quot;32.551ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2457,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3514,0)&quot;&gt;&lt;path d=&quot;M42 0H40Q26 0 26 11Q26 15 29 27Q33 41 36 43T55 46Q141 49 190 98Q200 108 306 224T411 342Q302 620 297 625Q288 636 234 637H206Q200 643 200 645T202 664Q206 677 212 683H226Q260 681 347 681Q380 681 408 681T453 682T473 682Q490 682 490 671Q490 670 488 658Q484 643 481 640T465 637Q434 634 411 620L488 426L541 485Q646 598 646 610Q646 628 622 635Q617 635 609 637Q594 637 594 648Q594 650 596 664Q600 677 606 683H618Q619 683 643 683T697 681T738 680Q828 680 837 683H845Q852 676 852 672Q850 647 840 637H824Q790 636 763 628T722 611T698 593L687 584Q687 585 592 480L505 384Q505 383 536 304T601 142T638 56Q648 47 699 46Q734 46 734 37Q734 35 732 23Q728 7 725 4T711 1Q708 1 678 1T589 2Q528 2 496 2T461 1Q444 1 444 10Q444 11 446 25Q448 35 450 39T455 44T464 46T480 47T506 54Q523 62 523 64Q522 64 476 181L429 299Q241 95 236 84Q232 76 232 72Q232 53 261 47Q262 47 267 47T273 46Q276 46 277 46T280 45T283 42T284 35Q284 26 282 19Q279 6 276 4T261 1Q258 1 243 1T201 2T142 2Q64 2 42 0Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4366,0)&quot;&gt;&lt;path d=&quot;M78 370Q78 394 95 412T138 430Q162 430 180 414T199 371Q199 346 182 328T139 310T96 327T78 370ZM78 60Q78 85 94 103T137 121Q202 121 202 8Q202 -44 183 -94T144 -169T118 -194Q115 -194 106 -186T95 -174Q94 -171 107 -155T137 -107T160 -38Q161 -32 162 -22T165 -4T165 4Q165 5 161 4T142 0Q110 0 94 18T78 60Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4811,0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5590,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6646,0)&quot;&gt;&lt;path d=&quot;M297 596Q297 627 318 644T361 661Q378 661 389 651T403 623Q403 595 384 576T340 557Q322 557 310 567T297 596ZM288 376Q288 405 262 405Q240 405 220 393T185 362T161 325T144 293L137 279Q135 278 121 278H107Q101 284 101 286T105 299Q126 348 164 391T252 441Q253 441 260 441T272 442Q296 441 316 432Q341 418 354 401T367 348V332L318 133Q267 -67 264 -75Q246 -125 194 -164T75 -204Q25 -204 7 -183T-12 -137Q-12 -110 7 -91T53 -71Q70 -71 82 -81T95 -112Q95 -148 63 -167Q69 -168 77 -168Q111 -168 139 -140T182 -74L193 -32Q204 11 219 72T251 197T278 308T289 365Q289 372 288 376Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7336,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8392,0)&quot;&gt;&lt;path d=&quot;M66 637Q54 637 49 637T39 638T32 641T30 647T33 664T42 682Q44 683 56 683Q104 680 165 680Q288 680 306 683H316Q322 677 322 674T320 656Q316 643 310 637H298Q242 637 242 624Q242 619 292 477T343 333L346 336Q350 340 358 349T379 373T411 410T454 461Q546 568 561 587T577 618Q577 634 545 637Q528 637 528 647Q528 649 530 661Q533 676 535 679T549 683Q551 683 578 682T657 680Q684 680 713 681T746 682Q763 682 763 673Q763 669 760 657T755 643Q753 637 734 637Q662 632 617 587Q608 578 477 424L348 273L322 169Q295 62 295 57Q295 46 363 46Q379 46 384 45T390 35Q390 33 388 23Q384 6 382 4T366 1Q361 1 324 1T232 2Q170 2 138 2T102 1Q84 1 84 9Q84 14 87 24Q88 27 89 30T90 35T91 39T93 42T96 44T101 45T107 45T116 46T129 46Q168 47 180 50T198 63Q201 68 227 171L252 274L129 623Q128 624 127 625T125 627T122 629T118 631T113 633T105 634T96 635T83 636T66 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(9156,0)&quot;&gt;&lt;path d=&quot;M78 370Q78 394 95 412T138 430Q162 430 180 414T199 371Q199 346 182 328T139 310T96 327T78 370ZM78 60Q78 85 94 103T137 121Q202 121 202 8Q202 -44 183 -94T144 -169T118 -194Q115 -194 106 -186T95 -174Q94 -171 107 -155T137 -107T160 -38Q161 -32 162 -22T165 -4T165 4Q165 5 161 4T142 0Q110 0 94 18T78 60Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(9601,0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(10379,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(11436,0)&quot;&gt;&lt;path d=&quot;M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(12235,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(13291,0)&quot;&gt;&lt;path d=&quot;M58 8Q58 23 64 35Q64 36 329 334T596 635L586 637Q575 637 512 637H500H476Q442 637 420 635T365 624T311 598T266 548T228 469Q227 466 226 463T224 458T223 453T222 450L221 448Q218 443 202 443Q185 443 182 453L214 561Q228 606 241 651Q249 679 253 681Q256 683 487 683H718Q723 678 723 675Q723 673 717 649Q189 54 188 52L185 49H274Q369 50 377 51Q452 60 500 100T579 247Q587 272 590 277T603 282H607Q628 282 628 271Q547 5 541 2Q538 0 300 0H124Q58 0 58 8Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Four integers&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 3229.8 1080.4&quot; width=&quot;7.502ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M42 0H40Q26 0 26 11Q26 15 29 27Q33 41 36 43T55 46Q141 49 190 98Q200 108 306 224T411 342Q302 620 297 625Q288 636 234 637H206Q200 643 200 645T202 664Q206 677 212 683H226Q260 681 347 681Q380 681 408 681T453 682T473 682Q490 682 490 671Q490 670 488 658Q484 643 481 640T465 637Q434 634 411 620L488 426L541 485Q646 598 646 610Q646 628 622 635Q617 635 609 637Q594 637 594 648Q594 650 596 664Q600 677 606 683H618Q619 683 643 683T697 681T738 680Q828 680 837 683H845Q852 676 852 672Q850 647 840 637H824Q790 636 763 628T722 611T698 593L687 584Q687 585 592 480L505 384Q505 383 536 304T601 142T638 56Q648 47 699 46Q734 46 734 37Q734 35 732 23Q728 7 725 4T711 1Q708 1 678 1T589 2Q528 2 496 2T461 1Q444 1 444 10Q444 11 446 25Q448 35 450 39T455 44T464 46T480 47T506 54Q523 62 523 64Q522 64 476 181L429 299Q241 95 236 84Q232 76 232 72Q232 53 261 47Q262 47 267 47T273 46Q276 46 277 46T280 45T283 42T284 35Q284 26 282 19Q279 6 276 4T261 1Q258 1 243 1T201 2T142 2Q64 2 42 0Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(852,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1297,0)&quot;&gt;&lt;path d=&quot;M66 637Q54 637 49 637T39 638T32 641T30 647T33 664T42 682Q44 683 56 683Q104 680 165 680Q288 680 306 683H316Q322 677 322 674T320 656Q316 643 310 637H298Q242 637 242 624Q242 619 292 477T343 333L346 336Q350 340 358 349T379 373T411 410T454 461Q546 568 561 587T577 618Q577 634 545 637Q528 637 528 647Q528 649 530 661Q533 676 535 679T549 683Q551 683 578 682T657 680Q684 680 713 681T746 682Q763 682 763 673Q763 669 760 657T755 643Q753 637 734 637Q662 632 617 587Q608 578 477 424L348 273L322 169Q295 62 295 57Q295 46 363 46Q379 46 384 45T390 35Q390 33 388 23Q384 6 382 4T366 1Q361 1 324 1T232 2Q170 2 138 2T102 1Q84 1 84 9Q84 14 87 24Q88 27 89 30T90 35T91 39T93 42T96 44T101 45T107 45T116 46T129 46Q168 47 180 50T198 63Q201 68 227 171L252 274L129 623Q128 624 127 625T125 627T122 629T118 631T113 633T105 634T96 635T83 636T66 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2061,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2506,0)&quot;&gt;&lt;path d=&quot;M58 8Q58 23 64 35Q64 36 329 334T596 635L586 637Q575 637 512 637H500H476Q442 637 420 635T365 624T311 598T266 548T228 469Q227 466 226 463T224 458T223 453T222 450L221 448Q218 443 202 443Q185 443 182 453L214 561Q228 606 241 651Q249 679 253 681Q256 683 487 683H718Q723 678 723 675Q723 673 717 649Q189 54 188 52L185 49H274Q369 50 377 51Q452 60 500 100T579 247Q587 272 590 277T603 282H607Q628 282 628 271Q547 5 541 2Q538 0 300 0H124Q58 0 58 8Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;each on four separate lines, respectively.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Print the list in lexicographic increasing order.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[[0, 0, 0], [0, 0, 1], [0, 1, 0], [1, 0, 0], [1, 1, 1]]&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Concept&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
You have already used lists in previous hacks. List comprehensions are an elegant way to build a list without having to use different for loops to append values one by one. This example might help.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Example:&lt;/span&gt;&amp;nbsp;You are given two integers x and y . You need to find out the ordered pairs ( i , j ) , such that ( i + j ) is not equal to n and print them in lexicographic order.( 0 &amp;lt;= i &amp;lt;= x ) and ( 0 &amp;lt;= j &amp;lt;= y) This is the code if&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;we dont use list comprehensions in Python&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;python x = int ( raw_input()) y = int ( raw_input()) n = int ( raw_input()) ar = [] p = 0 for i in range ( x + 1 ) : for j in range( y + 1): if i+j != n: ar.append([]) ar[p] = [ i , j ] p+=1 print ar&lt;/code&gt;Other smaller codes may also exist, but using list comprehensions is always a good option.&amp;nbsp;&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Code using list comprehensions:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;python x = int ( raw_input()) y = int ( raw_input()) n = int ( raw_input()) print [ [ i, j] for i in range( x + 1) for j in range( y + 1) if ( ( i + j ) != n )]&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[[0, 0, 0], [0, 0, 1], [0, 1, 0], [0, 1, 2], [0, 2, 1], [0, 2, 2], [1, 0, 0], [1, 0, 2], [1, 1, 1], [1, 1, 2], [1, 2, 0], [1, 2, 1], [1, 2, 2], [2, 0, 1], [2, 0, 2], [2, 1, 0], [2, 1, 1], [2, 1, 2], [2, 2, 0], [2, 2, 1], [2, 2, 2]]&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    x = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())
    y = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())
    z = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())
    n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())

    list_coordinates = [[i&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;j&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;k] &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(x+&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;) &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;j &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(y+&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;) &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;k &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(z+&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;) &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;i+j+k != n]

    &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(list_coordinates)&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/4099415035265478152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/list-comprehensions-hacker-rank-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4099415035265478152'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4099415035265478152'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/list-comprehensions-hacker-rank-python.html' title='List Comprehensions - Hacker rank python solution code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-4276019744639299782</id><published>2020-05-09T13:05:00.002+05:30</published><updated>2020-05-09T13:05:48.539+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Print Function - Hacker rank python problem solution code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; bottom: -0.25em; font-family: inherit; font-size: 10.5px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 0; margin: 0px; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot;&gt;Check&amp;nbsp;&lt;a href=&quot;https://www.hackerrank.com/challenges/python-print/tutorial&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;&quot;&gt;Tutorial&lt;/a&gt;&amp;nbsp;tab to know how to to solve.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Read an integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Without using any string methods, try to print the following:&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 3895.8 936.9&quot; width=&quot;9.048ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1668,0)&quot;&gt;&lt;path d=&quot;M78 250Q78 274 95 292T138 310Q162 310 180 294T199 251Q199 226 182 208T139 190T96 207T78 250ZM525 250Q525 274 542 292T585 310Q609 310 627 294T646 251Q646 226 629 208T586 190T543 207T525 250ZM972 250Q972 274 989 292T1032 310Q1056 310 1074 294T1093 251Q1093 226 1076 208T1033 190T990 207T972 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3007,0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Note that &quot;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;0.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -217.3 1172.5 362.8&quot; width=&quot;2.723ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M78 60Q78 84 95 102T138 120Q162 120 180 104T199 61Q199 36 182 18T139 0T96 17T78 60ZM525 60Q525 84 542 102T585 120Q609 120 627 104T646 61Q646 36 629 18T586 0T543 17T525 60ZM972 60Q972 84 989 102T1032 120Q1056 120 1074 104T1093 61Q1093 36 1076 18T1033 0T990 17T972 60Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&quot; represents the values in between.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains an integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 888.5 936.9&quot; width=&quot;2.064ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M234 637Q231 637 226 637Q201 637 196 638T191 649Q191 676 202 682Q204 683 299 683Q376 683 387 683T401 677Q612 181 616 168L670 381Q723 592 723 606Q723 633 659 637Q635 637 635 648Q635 650 637 660Q641 676 643 679T653 683Q656 683 684 682T767 680Q817 680 843 681T873 682Q888 682 888 672Q888 650 880 642Q878 637 858 637Q787 633 769 597L620 7Q618 0 599 0Q585 0 582 2Q579 5 453 305L326 604L261 344Q196 88 196 79Q201 46 268 46H278Q284 41 284 38T282 19Q278 6 272 0H259Q228 2 151 2Q123 2 100 2T63 2T46 1Q31 1 31 10Q31 14 34 26T39 40Q41 46 62 46Q130 49 150 85Q154 91 221 362L289 634Q287 635 234 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Output the answer as explained in the task.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;123&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())
    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;n+&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;):
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(i&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #aa4926;&quot;&gt;end&lt;/span&gt;=&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&#39;&lt;/span&gt;)&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/4276019744639299782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/print-function-hacker-rank-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4276019744639299782'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4276019744639299782'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/print-function-hacker-rank-python.html' title='Print Function - Hacker rank python problem solution code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-3102561022449693985</id><published>2020-05-09T12:58:00.002+05:30</published><updated>2020-05-09T12:58:40.133+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Write a function - Hacker rank python problem solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
We add a Leap Day on February 29, almost every four years. The leap day is an extra, or intercalary day and we add it to the shortest month of the year, February.&lt;br /&gt;In the Gregorian calendar three criteria must be taken into account to identify leap years:&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;The year can be evenly divided by 4, is a leap year, unless:&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;The year can be evenly divided by 100, it is NOT a leap year, unless:&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;The year is also evenly divisible by 400. Then it is a leap year.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
This means that in the Gregorian calendar, the years 2000 and 2400 are leap years, while 1800, 1900, 2100, 2200, 2300 and 2500 are NOT leap years.&lt;a href=&quot;http://www.timeanddate.com/date/leapyear.html&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;&quot;&gt;Source&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Task&lt;/span&gt;&lt;br /&gt;You are given the year, and you have to write a function to check if the year is leap or not.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Note that you have to complete the function and remaining code is given as template.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Read y, the year that needs to be checked.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;3.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -1006.6 6622.5 1295.7&quot; width=&quot;15.381ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(2279,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3336,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4111,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5167,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,393)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Output is taken care of by the template. Your function must return a boolean value (True/False)&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1990&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;False&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
1990 is not a multiple of 4 hence it&#39;s not a leap year.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;is_leap(year):
    &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;year%&lt;span style=&quot;color: #6897bb;&quot;&gt;4 &lt;/span&gt;== &lt;span style=&quot;color: #6897bb;&quot;&gt;0 &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;and &lt;/span&gt;year%&lt;span style=&quot;color: #6897bb;&quot;&gt;100 &lt;/span&gt;!= &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;return True&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;    elif &lt;/span&gt;year%&lt;span style=&quot;color: #6897bb;&quot;&gt;400 &lt;/span&gt;== &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;return True&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;    return False&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;year = int(input())
print(is_leap(year))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/3102561022449693985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/write-function-hacker-rank-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/3102561022449693985'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/3102561022449693985'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/write-function-hacker-rank-python.html' title='Write a function - Hacker rank python problem solution'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-4508496500565093979</id><published>2020-05-06T21:39:00.001+05:30</published><updated>2020-05-06T21:39:25.605+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Day 20: Sorting - Hacker Rank Solution (Python) Code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Objective&lt;/strong&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;Today, we&#39;re discussing a simple sorting algorithm called&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Bubble Sort&lt;/span&gt;. Check out the&amp;nbsp;&lt;a href=&quot;https://www.hackerrank.com/challenges/30-sorting/topics&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s; vertical-align: baseline; word-break: break-word;&quot;&gt;Tutorial&lt;/a&gt;&amp;nbsp;tab for learning materials and an instructional video!&lt;/div&gt;
&lt;hr style=&quot;border-bottom: none; border-image: initial; border-left: none; border-right: none; border-top: 2px solid rgb(234, 234, 234); box-sizing: content-box; height: 0px; margin: 5px 0px; overflow-wrap: break-word; overflow: visible; word-break: break-word;&quot; /&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
Consider the following version of Bubble Sort:&lt;/div&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;k&quot; style=&quot;border: 0px; color: #a90d91; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kt&quot; style=&quot;border: 0px; color: #a90d91; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; color: #1c01ce; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;n&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;++)&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;c1&quot; style=&quot;border: 0px; color: #177500; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;// Track number of elements swapped during a single array traversal&lt;/span&gt;
    &lt;span class=&quot;kt&quot; style=&quot;border: 0px; color: #a90d91; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;numberOfSwaps&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; color: #1c01ce; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;;&lt;/span&gt;
    
    &lt;span class=&quot;k&quot; style=&quot;border: 0px; color: #a90d91; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kt&quot; style=&quot;border: 0px; color: #a90d91; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;j&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; color: #1c01ce; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;j&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;n&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; color: #1c01ce; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;++)&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;c1&quot; style=&quot;border: 0px; color: #177500; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;// Swap adjacent elements if they are in decreasing order&lt;/span&gt;
        &lt;span class=&quot;k&quot; style=&quot;border: 0px; color: #a90d91; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;j&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; color: #1c01ce; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;])&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;{&lt;/span&gt;
            &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;swap&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;],&lt;/span&gt; &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;j&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; color: #1c01ce; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;]);&lt;/span&gt;
            &lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;numberOfSwaps&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;++;&lt;/span&gt;
        &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;}&lt;/span&gt;
    &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;}&lt;/span&gt;
    
    &lt;span class=&quot;c1&quot; style=&quot;border: 0px; color: #177500; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;// If no elements were swapped during a traversal, array is sorted&lt;/span&gt;
    &lt;span class=&quot;k&quot; style=&quot;border: 0px; color: #a90d91; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;numberOfSwaps&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; color: #1c01ce; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;k&quot; style=&quot;border: 0px; color: #a90d91; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;o&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Task&lt;/strong&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;Given an array,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 529.5 721.6&quot; width=&quot;1.23ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, of size&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;distinct elements, sort the array in&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;ascending&lt;/span&gt;&amp;nbsp;order using the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Bubble Sort&lt;/span&gt;&amp;nbsp;algorithm above. Once sorted, print the following&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines:&lt;/div&gt;
&lt;ol style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 10px 0px 20px 20px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;Array is sorted in numSwaps swaps.&lt;/code&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;where&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 4916 1080.4&quot; width=&quot;11.418ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(600,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1173,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2051,0)&quot;&gt;&lt;path d=&quot;M308 24Q367 24 416 76T466 197Q466 260 414 284Q308 311 278 321T236 341Q176 383 176 462Q176 523 208 573T273 648Q302 673 343 688T407 704H418H425Q521 704 564 640Q565 640 577 653T603 682T623 704Q624 704 627 704T632 705Q645 705 645 698T617 577T585 459T569 456Q549 456 549 465Q549 471 550 475Q550 478 551 494T553 520Q553 554 544 579T526 616T501 641Q465 662 419 662Q362 662 313 616T263 510Q263 480 278 458T319 427Q323 425 389 408T456 390Q490 379 522 342T554 242Q554 216 546 186Q541 164 528 137T492 78T426 18T332 -20Q320 -22 298 -22Q199 -22 144 33L134 44L106 13Q83 -14 78 -18T65 -22Q52 -22 52 -14Q52 -11 110 221Q112 227 130 227H143Q149 221 149 216Q149 214 148 207T144 186T142 153Q144 114 160 87T203 47T255 29T308 24Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2697,0)&quot;&gt;&lt;path d=&quot;M580 385Q580 406 599 424T641 443Q659 443 674 425T690 368Q690 339 671 253Q656 197 644 161T609 80T554 12T482 -11Q438 -11 404 5T355 48Q354 47 352 44Q311 -11 252 -11Q226 -11 202 -5T155 14T118 53T104 116Q104 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Q21 293 29 315T52 366T96 418T161 441Q204 441 227 416T250 358Q250 340 217 250T184 111Q184 65 205 46T258 26Q301 26 334 87L339 96V119Q339 122 339 128T340 136T341 143T342 152T345 165T348 182T354 206T362 238T373 281Q402 395 406 404Q419 431 449 431Q468 431 475 421T483 402Q483 389 454 274T422 142Q420 131 420 107V100Q420 85 423 71T442 42T487 26Q558 26 600 148Q609 171 620 213T632 273Q632 306 619 325T593 357T580 385Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3413,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3943,0)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4446,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is the number of swaps that took place.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;First Element: firstElement&lt;/code&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;where&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 6015 1080.4&quot; width=&quot;13.97ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -162Q120 -162 124 -164T135 -167T147 -168Q160 -168 171 -155T187 -126Q197 -99 221 27T267 267T289 382V385H242Q195 385 192 387Q188 390 188 397L195 425Q197 430 203 430T250 431Q298 431 298 432Q298 434 307 482T319 540Q356 705 465 705Q502 703 526 683T550 630Q550 594 529 578T487 561Q443 561 443 603Q443 622 454 636T478 657L487 662Q471 668 457 668Q445 668 434 658T419 630Q412 601 403 552T387 469T380 433Q380 431 435 431Q480 431 487 430T498 424Q499 420 496 407T491 391Q489 386 482 386T428 385H372L349 263Q301 15 282 -47Q255 -132 212 -173Q175 -205 139 -205Q107 -205 81 -186T55 -132Q55 -95 76 -78T118 -61Q162 -61 162 -103Q162 -122 151 -136T127 -157L118 -162Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(550,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(896,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1347,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1817,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2178,0)&quot;&gt;&lt;path d=&quot;M492 213Q472 213 472 226Q472 230 477 250T482 285Q482 316 461 323T364 330H312Q311 328 277 192T243 52Q243 48 254 48T334 46Q428 46 458 48T518 61Q567 77 599 117T670 248Q680 270 683 272Q690 274 698 274Q718 274 718 261Q613 7 608 2Q605 0 322 0H133Q31 0 31 11Q31 13 34 25Q38 41 42 43T65 46Q92 46 125 49Q139 52 144 61Q146 66 215 342T285 622Q285 629 281 629Q273 632 228 634H197Q191 640 191 642T193 659Q197 676 203 680H757Q764 676 764 669Q764 664 751 557T737 447Q735 440 717 440H705Q698 445 698 453L701 476Q704 500 704 528Q704 558 697 578T678 609T643 625T596 632T532 634H485Q397 633 392 631Q388 629 386 622Q385 619 355 499T324 377Q347 376 372 376H398Q464 376 489 391T534 472Q538 488 540 490T557 493Q562 493 565 493T570 492T572 491T574 487T577 483L544 351Q511 218 508 216Q505 213 492 213Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2943,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3241,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3708,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4586,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5053,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5653,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;first&lt;/span&gt;&amp;nbsp;element in the sorted array.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;Last Element: lastElement&lt;/code&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;where&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 5495.5 936.9&quot; width=&quot;12.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(298,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(828,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1297,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1659,0)&quot;&gt;&lt;path d=&quot;M492 213Q472 213 472 226Q472 230 477 250T482 285Q482 316 461 323T364 330H312Q311 328 277 192T243 52Q243 48 254 48T334 46Q428 46 458 48T518 61Q567 77 599 117T670 248Q680 270 683 272Q690 274 698 274Q718 274 718 261Q613 7 608 2Q605 0 322 0H133Q31 0 31 11Q31 13 34 25Q38 41 42 43T65 46Q92 46 125 49Q139 52 144 61Q146 66 215 342T285 622Q285 629 281 629Q273 632 228 634H197Q191 640 191 642T193 659Q197 676 203 680H757Q764 676 764 669Q764 664 751 557T737 447Q735 440 717 440H705Q698 445 698 453L701 476Q704 500 704 528Q704 558 697 578T678 609T643 625T596 632T532 634H485Q397 633 392 631Q388 629 386 622Q385 619 355 499T324 377Q347 376 372 376H398Q464 376 489 391T534 472Q538 488 540 490T557 493Q562 493 565 493T570 492T572 491T574 487T577 483L544 351Q511 218 508 216Q505 213 492 213Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2423,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2722,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3188,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4067,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4533,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5134,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;last&lt;/span&gt;&amp;nbsp;element in the sorted array.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Hint:&lt;/strong&gt;&amp;nbsp;To complete this challenge, you will need to add a variable that keeps a running tally of&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;all&lt;/span&gt;&amp;nbsp;swaps that occur during execution.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Input Format&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
The first line contains an integer,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, denoting the number of elements in array&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 529.5 721.6&quot; width=&quot;1.23ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;The second line contains&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;space-separated integers describing the respective values of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 6600 865.1&quot; width=&quot;15.329ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(529,-150)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(983,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1428,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(529,-150)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2411,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2857,0)&quot;&gt;&lt;path d=&quot;M78 60Q78 84 95 102T138 120Q162 120 180 104T199 61Q199 36 182 18T139 0T96 17T78 60ZM525 60Q525 84 542 102T585 120Q609 120 627 104T646 61Q646 36 629 18T586 0T543 17T525 60ZM972 60Q972 84 989 102T1032 120Q1056 120 1074 104T1093 61Q1093 36 1076 18T1033 0T990 17T972 60Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4196,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4641,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(529,-150)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(424,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(975,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Constraints&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 10px 0px 20px 20px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 5270.6 1008.6&quot; width=&quot;12.241ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2712,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3769,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;3.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -1006.6 7220.8 1295.7&quot; width=&quot;16.771ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(529,-150)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2986,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4042,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4765,0)&quot;&gt;&lt;path d=&quot;M630 29Q630 9 609 9Q604 9 587 25T493 118L389 222L284 117Q178 13 175 11Q171 9 168 9Q160 9 154 15T147 29Q147 36 161 51T255 146L359 250L255 354Q174 435 161 449T147 471Q147 480 153 485T168 490Q173 490 175 489Q178 487 284 383L389 278L493 382Q570 459 587 475T609 491Q630 491 630 471Q630 464 620 453T522 355L418 250L522 145Q606 61 618 48T630 29Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5765,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,393)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, where&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 4114.6 1008.6&quot; width=&quot;9.557ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2457,0)&quot;&gt;&lt;path d=&quot;M694 -11T694 -19T688 -33T678 -40Q671 -40 524 29T234 166L90 235Q83 240 83 250Q83 261 91 266Q664 540 678 540Q681 540 687 534T694 519T687 505Q686 504 417 376L151 250L417 124Q686 -4 687 -5Q694 -11 694 -19Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3514,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Output Format&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
Print the following three lines of output:&lt;/div&gt;
&lt;ol style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 10px 0px 20px 20px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;Array is sorted in numSwaps swaps.&lt;/code&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;where&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 4916 1080.4&quot; width=&quot;11.418ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(600,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1173,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2051,0)&quot;&gt;&lt;path d=&quot;M308 24Q367 24 416 76T466 197Q466 260 414 284Q308 311 278 321T236 341Q176 383 176 462Q176 523 208 573T273 648Q302 673 343 688T407 704H418H425Q521 704 564 640Q565 640 577 653T603 682T623 704Q624 704 627 704T632 705Q645 705 645 698T617 577T585 459T569 456Q549 456 549 465Q549 471 550 475Q550 478 551 494T553 520Q553 554 544 579T526 616T501 641Q465 662 419 662Q362 662 313 616T263 510Q263 480 278 458T319 427Q323 425 389 408T456 390Q490 379 522 342T554 242Q554 216 546 186Q541 164 528 137T492 78T426 18T332 -20Q320 -22 298 -22Q199 -22 144 33L134 44L106 13Q83 -14 78 -18T65 -22Q52 -22 52 -14Q52 -11 110 221Q112 227 130 227H143Q149 221 149 216Q149 214 148 207T144 186T142 153Q144 114 160 87T203 47T255 29T308 24Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2697,0)&quot;&gt;&lt;path d=&quot;M580 385Q580 406 599 424T641 443Q659 443 674 425T690 368Q690 339 671 253Q656 197 644 161T609 80T554 12T482 -11Q438 -11 404 5T355 48Q354 47 352 44Q311 -11 252 -11Q226 -11 202 -5T155 14T118 53T104 116Q104 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Q21 293 29 315T52 366T96 418T161 441Q204 441 227 416T250 358Q250 340 217 250T184 111Q184 65 205 46T258 26Q301 26 334 87L339 96V119Q339 122 339 128T340 136T341 143T342 152T345 165T348 182T354 206T362 238T373 281Q402 395 406 404Q419 431 449 431Q468 431 475 421T483 402Q483 389 454 274T422 142Q420 131 420 107V100Q420 85 423 71T442 42T487 26Q558 26 600 148Q609 171 620 213T632 273Q632 306 619 325T593 357T580 385Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3413,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3943,0)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4446,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is the number of swaps that took place.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;First Element: firstElement&lt;/code&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;where&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 6015 1080.4&quot; width=&quot;13.97ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -162Q120 -162 124 -164T135 -167T147 -168Q160 -168 171 -155T187 -126Q197 -99 221 27T267 267T289 382V385H242Q195 385 192 387Q188 390 188 397L195 425Q197 430 203 430T250 431Q298 431 298 432Q298 434 307 482T319 540Q356 705 465 705Q502 703 526 683T550 630Q550 594 529 578T487 561Q443 561 443 603Q443 622 454 636T478 657L487 662Q471 668 457 668Q445 668 434 658T419 630Q412 601 403 552T387 469T380 433Q380 431 435 431Q480 431 487 430T498 424Q499 420 496 407T491 391Q489 386 482 386T428 385H372L349 263Q301 15 282 -47Q255 -132 212 -173Q175 -205 139 -205Q107 -205 81 -186T55 -132Q55 -95 76 -78T118 -61Q162 -61 162 -103Q162 -122 151 -136T127 -157L118 -162Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(550,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(896,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1347,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1817,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2178,0)&quot;&gt;&lt;path d=&quot;M492 213Q472 213 472 226Q472 230 477 250T482 285Q482 316 461 323T364 330H312Q311 328 277 192T243 52Q243 48 254 48T334 46Q428 46 458 48T518 61Q567 77 599 117T670 248Q680 270 683 272Q690 274 698 274Q718 274 718 261Q613 7 608 2Q605 0 322 0H133Q31 0 31 11Q31 13 34 25Q38 41 42 43T65 46Q92 46 125 49Q139 52 144 61Q146 66 215 342T285 622Q285 629 281 629Q273 632 228 634H197Q191 640 191 642T193 659Q197 676 203 680H757Q764 676 764 669Q764 664 751 557T737 447Q735 440 717 440H705Q698 445 698 453L701 476Q704 500 704 528Q704 558 697 578T678 609T643 625T596 632T532 634H485Q397 633 392 631Q388 629 386 622Q385 619 355 499T324 377Q347 376 372 376H398Q464 376 489 391T534 472Q538 488 540 490T557 493Q562 493 565 493T570 492T572 491T574 487T577 483L544 351Q511 218 508 216Q505 213 492 213Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2943,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3241,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3708,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4586,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5053,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5653,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;first&lt;/span&gt;&amp;nbsp;element in the sorted array.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;Last Element: lastElement&lt;/code&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;where&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 5495.5 936.9&quot; width=&quot;12.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(298,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(828,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1297,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1659,0)&quot;&gt;&lt;path d=&quot;M492 213Q472 213 472 226Q472 230 477 250T482 285Q482 316 461 323T364 330H312Q311 328 277 192T243 52Q243 48 254 48T334 46Q428 46 458 48T518 61Q567 77 599 117T670 248Q680 270 683 272Q690 274 698 274Q718 274 718 261Q613 7 608 2Q605 0 322 0H133Q31 0 31 11Q31 13 34 25Q38 41 42 43T65 46Q92 46 125 49Q139 52 144 61Q146 66 215 342T285 622Q285 629 281 629Q273 632 228 634H197Q191 640 191 642T193 659Q197 676 203 680H757Q764 676 764 669Q764 664 751 557T737 447Q735 440 717 440H705Q698 445 698 453L701 476Q704 500 704 528Q704 558 697 578T678 609T643 625T596 632T532 634H485Q397 633 392 631Q388 629 386 622Q385 619 355 499T324 377Q347 376 372 376H398Q464 376 489 391T534 472Q538 488 540 490T557 493Q562 493 565 493T570 492T572 491T574 487T577 483L544 351Q511 218 508 216Q505 213 492 213Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2423,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2722,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3188,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4067,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4533,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5134,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;last&lt;/span&gt;&amp;nbsp;element in the sorted array.&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Input 0&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;3&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;1 2 3&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Output 0&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Array is sorted in 0 swaps.&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;First Element: 1&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Last Element: 3&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Explanation 0&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
The array is already sorted, so&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;swaps take place and we print the necessary&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines of output shown above.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Input 1&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;3&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;3 2 1&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Output 1&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Array is sorted in 3 swaps.&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;First Element: 1&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Last Element: 3&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Explanation 1&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
The array&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4812.4 1223.9&quot; width=&quot;11.177ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(807,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1863,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2142,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2642,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3087,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3588,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4033,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4533,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;not sorted&lt;/span&gt;, so we perform the following&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;swaps:&lt;/div&gt;
&lt;ol style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 10px 0px 20px 20px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 7453.7 1223.9&quot; width=&quot;17.312ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(779,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1224,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1724,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2169,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2670,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3226,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H835Q719 357 692 493Q692 494 692 496T691 499Q691 511 708 511H711Q720 511 723 510T729 506T732 497T735 481T743 456Q765 389 816 336T935 261Q944 258 944 250Q944 244 939 241T915 231T877 212Q836 186 806 152T761 85T740 35T732 4Q730 -6 727 -8T711 -11Q691 -11 691 0Q691 7 696 25Q728 151 835 230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4504,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4783,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5283,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5729,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6229,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6674,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7175,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 7453.7 1223.9&quot; width=&quot;17.312ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(779,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1224,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1724,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2169,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2670,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3226,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H835Q719 357 692 493Q692 494 692 496T691 499Q691 511 708 511H711Q720 511 723 510T729 506T732 497T735 481T743 456Q765 389 816 336T935 261Q944 258 944 250Q944 244 939 241T915 231T877 212Q836 186 806 152T761 85T740 35T732 4Q730 -6 727 -8T711 -11Q691 -11 691 0Q691 7 696 25Q728 151 835 230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4504,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4783,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5283,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5729,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6229,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6674,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7175,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 7453.7 1223.9&quot; width=&quot;17.312ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(779,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1224,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1724,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2169,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2670,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3226,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H835Q719 357 692 493Q692 494 692 496T691 499Q691 511 708 511H711Q720 511 723 510T729 506T732 497T735 481T743 456Q765 389 816 336T935 261Q944 258 944 250Q944 244 939 241T915 231T877 212Q836 186 806 152T761 85T740 35T732 4Q730 -6 727 -8T711 -11Q691 -11 691 0Q691 7 696 25Q728 151 835 230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4504,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4783,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5283,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5729,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6229,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6674,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7175,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
At this point the array is sorted and we print the necessary&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines of output shown above.&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#!/bin/python3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys

n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().strip())
a = &lt;span style=&quot;color: #8888c6;&quot;&gt;list&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;map&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().strip().split(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39; &#39;&lt;/span&gt;)))
&lt;span style=&quot;color: grey;&quot;&gt;# Write Your Code Here&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;count = &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;len&lt;/span&gt;(a)-&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;):
    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;j &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;len&lt;/span&gt;(a)-&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;):
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;a[j] &amp;gt; a[j+&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;]:
            a[j]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;a[j+&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;] = a[j+&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;a[j]
            count += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;Array is sorted in {} swaps.&#39;&lt;/span&gt;.format(count))
&lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;First Element: {}&#39;&lt;/span&gt;.format(a[&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;]))
&lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;Last Element: {}&#39;&lt;/span&gt;.format(a[-&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;]))&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/4508496500565093979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-20-sorting-hacker-rank-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4508496500565093979'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4508496500565093979'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-20-sorting-hacker-rank-solution.html' title='Day 20: Sorting - Hacker Rank Solution (Python) Code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-2533229214786893027</id><published>2020-05-06T21:19:00.003+05:30</published><updated>2020-05-06T21:19:43.123+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Day 19: Interfaces - Hacker Rank Solution (Python) Code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Objective&lt;/strong&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;Today, we&#39;re learning about Interfaces. Check out the&amp;nbsp;&lt;a href=&quot;https://www.hackerrank.com/challenges/30-interfaces/tutorial&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s; vertical-align: baseline; word-break: break-word;&quot;&gt;Tutorial&lt;/a&gt;&amp;nbsp;tab for learning materials and an instructional video!&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Task&lt;/strong&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;The&amp;nbsp;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;AdvancedArithmetic&lt;/code&gt;&amp;nbsp;interface and the method declaration for the abstract&amp;nbsp;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;divisorSum(n)&lt;/code&gt;&amp;nbsp;method are provided for you in the editor below.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
Complete the implementation of&amp;nbsp;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;Calculator&lt;/code&gt;&amp;nbsp;class, which implements the&amp;nbsp;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;AdvancedArithmetic&lt;/code&gt;&amp;nbsp;interface. The implementation for the&amp;nbsp;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;divisorSum(n)&lt;/code&gt;&amp;nbsp;method must return the sum of all divisors of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Input Format&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
A single line containing an integer,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Constraints&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 10px 0px 20px 20px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 5771.1 1008.6&quot; width=&quot;13.404ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2712,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3769,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Output Format&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
You are not responsible for printing anything to stdout. The locked template code in the editor below will call your code and print the necessary output.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Input&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;6
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Output&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;I implemented: AdvancedArithmetic
12
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Explanation&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
The integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is evenly divisible by&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Our&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;divisorSum&lt;/span&gt;&amp;nbsp;method should return the sum of these numbers, which is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 8005.9 1008.6&quot; width=&quot;18.594ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(722,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1723,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2446,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3446,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4169,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5170,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5948,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7004,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. The Solution class then prints&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -719.6 17340.5 1080.4&quot; width=&quot;40.275ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M400 76Q431 76 441 69T452 38Q452 29 452 26T450 18T443 9T430 1H95Q84 6 79 12T73 23T72 38Q72 65 90 73Q96 76 157 76H220V535H157H124Q93 535 83 542T72 573Q72 603 93 610Q97 611 264 611H430Q432 609 436 607T444 602T449 594Q452 588 452 573Q452 546 434 538Q428 535 367 535H304V76H367H400Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M202 538T202 559T218 596T260 612Q283 612 300 597T317 560Q317 538 300 523T260 507Q235 507 219 522ZM411 76Q441 76 451 69T462 38Q462 29 462 26T460 18T453 9T440 1H94Q72 8 72 33V38Q72 46 72 49T74 58T81 68T94 76H233V355H167L102 356Q80 363 80 393Q80 418 91 425T138 432Q145 432 165 432T200 431H295Q297 429 303 425T310 420T314 415T317 404T317 389T318 363Q318 354 318 314T317 241V76H378H411Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1050,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M133 76Q156 74 164 67T172 38Q172 9 151 1H11Q-12 8 -12 38Q-12 61 5 73Q10 75 28 76H45V355H28Q10 356 5 358Q-12 370 -12 393Q-12 419 11 431H52H70Q91 431 100 427T116 405Q163 436 200 436Q255 436 281 390L285 394Q289 398 292 400T301 407T314 415T329 423T346 429T366 434T389 436H392Q425 436 448 411Q469 390 474 360T480 268V232V203V76H497Q520 74 528 67T536 38Q536 9 515 1H396Q374 9 374 32V38Q374 73 402 76H409V191V242Q409 317 404 339T375 361Q343 361 323 332T299 264Q298 258 298 165V76H315Q338 74 346 67T354 38Q354 9 333 1H214Q192 9 192 32V38Q192 73 220 76H227V191V242Q227 317 222 339T193 361Q161 361 141 332T117 264Q116 258 116 165V76H133Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1576,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q93 431 104 431T121 432Q173 432 173 401V396L182 402Q237 437 305 437Q376 437 434 378T492 217Q492 146 459 93T382 17T291 -6Q261 -6 232 5T188 26L174 37Q173 37 173 -54V-146H236Q250 -155 254 -162T258 -184Q258 -213 236 -221H27Q4 -214 4 -184Q4 -169 8 -162T27 -146H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89ZM409 215Q409 269 377 315T283 361Q255 361 224 344T177 297L173 290V167Q189 124 213 97T278 70Q330 70 369 111T409 215Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2101,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M51 573Q51 602 73 610H76Q79 610 84 610T97 610T113 610T133 611T155 611T179 611H282Q301 598 304 586V76H452Q466 67 470 60T474 38Q474 10 452 1H73Q51 9 51 32V38Q51 54 54 60T73 76H220V535H146L73 536Q51 545 51 567V573Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2627,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3152,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M133 76Q156 74 164 67T172 38Q172 9 151 1H11Q-12 8 -12 38Q-12 61 5 73Q10 75 28 76H45V355H28Q10 356 5 358Q-12 370 -12 393Q-12 419 11 431H52H70Q91 431 100 427T116 405Q163 436 200 436Q255 436 281 390L285 394Q289 398 292 400T301 407T314 415T329 423T346 429T366 434T389 436H392Q425 436 448 411Q469 390 474 360T480 268V232V203V76H497Q520 74 528 67T536 38Q536 9 515 1H396Q374 9 374 32V38Q374 73 402 76H409V191V242Q409 317 404 339T375 361Q343 361 323 332T299 264Q298 258 298 165V76H315Q338 74 346 67T354 38Q354 9 333 1H214Q192 9 192 32V38Q192 73 220 76H227V191V242Q227 317 222 339T193 361Q161 361 141 332T117 264Q116 258 116 165V76H133Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3678,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4203,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4729,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M25 395Q26 405 26 408T29 416T35 423T48 431H145V481L146 532Q154 547 161 550T184 554H189Q218 554 227 534Q229 529 229 480V431H405Q406 430 411 427T418 422T422 416T426 407T427 393Q427 387 427 382T424 374T421 368T417 363T413 360T408 358L405 356L317 355H229V249Q229 237 229 214T228 179Q228 126 241 98T295 70Q354 70 365 149Q366 167 375 174Q383 182 407 182H415Q438 182 446 166Q448 161 448 148Q448 84 398 39T282 -6Q226 -6 189 29T146 128Q145 134 145 247V355H96H72Q45 355 35 362T25 395Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(5254,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(5780,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M266 573Q266 596 277 603T314 611H352H385Q411 611 419 607T435 586V76H498Q512 67 516 60T520 38Q520 9 498 1H436Q429 1 417 1T398 0Q375 0 363 7T351 34V43L342 36Q288 -6 223 -6Q143 -6 87 58T31 216Q31 307 88 372T230 437Q292 437 342 405L351 399V535H320L289 536Q266 543 266 573ZM351 290Q347 302 337 316T302 346T244 361Q193 361 154 319T115 215Q115 152 152 111T235 70Q314 70 351 170V290Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(6305,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M193 361Q193 396 214 413T258 431Q291 431 311 411T332 361Q332 335 314 314T262 292Q234 292 214 309T193 361ZM193 70Q193 105 214 122T258 140Q291 140 311 120T332 70Q332 44 314 23T262 1Q234 1 214 18T193 70Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(6831,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M191 76Q212 75 220 68T229 38Q229 10 208 1H129H80Q48 1 38 7T28 38Q28 51 29 57T40 69T70 76Q89 76 89 78Q90 79 117 205T173 461T205 599Q212 623 250 623H262H273Q312 623 319 599Q322 591 350 461T406 205T435 78Q435 76 454 76H458Q484 76 493 59Q496 53 496 38Q496 11 478 3Q474 1 395 1H317Q295 8 295 38Q295 65 311 73Q316 75 333 76L348 77V78Q348 80 341 112L334 143H190L183 112Q176 80 176 78Q175 76 178 76Q180 76 191 76ZM318 221Q313 238 288 366T263 519Q263 526 262 527Q261 527 261 520Q261 493 236 365T206 221Q206 219 262 219T318 221Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(7881,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M266 573Q266 596 277 603T314 611H352H385Q411 611 419 607T435 586V76H498Q512 67 516 60T520 38Q520 9 498 1H436Q429 1 417 1T398 0Q375 0 363 7T351 34V43L342 36Q288 -6 223 -6Q143 -6 87 58T31 216Q31 307 88 372T230 437Q292 437 342 405L351 399V535H320L289 536Q266 543 266 573ZM351 290Q347 302 337 316T302 346T244 361Q193 361 154 319T115 215Q115 152 152 111T235 70Q314 70 351 170V290Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(8407,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M24 392Q24 417 36 424T79 432Q85 432 103 432T132 431H215Q229 422 233 415T237 393Q237 355 198 355H193H172L262 77L352 355H331H323Q288 355 288 393Q288 409 291 415T310 431H478Q491 423 495 416T500 393Q500 364 478 356L452 355H426L374 190Q320 24 318 20Q307 -4 273 -4H262H251Q217 -4 206 20Q204 24 150 190L98 355H72L47 356Q24 363 24 392Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(8932,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M126 306Q105 306 90 321T74 359Q74 439 211 439Q268 439 276 438Q343 426 383 390T430 306Q431 301 431 190V81Q446 79 465 78T492 76T509 72T521 60T524 38Q524 11 506 3Q502 1 466 1Q426 1 406 5T379 14T355 36L345 30Q284 -6 205 -6Q135 -6 92 39T48 141Q48 182 79 212T158 256T252 278T342 285H347V290Q347 315 325 335T267 362Q258 363 224 363Q189 363 185 362H179L178 358Q178 353 178 352T176 345T174 337T170 330T165 322T158 316T150 311T139 308T126 306ZM132 140Q132 115 157 93T224 70Q269 70 302 87T344 133Q346 139 347 175V211H339Q256 209 194 190T132 140Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(9458,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(9983,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M291 -6Q196 -6 131 60T66 216Q66 296 119 361Q154 403 200 421T273 439Q275 440 293 440H313Q400 440 433 409Q454 388 454 359Q454 335 439 321T402 306Q380 306 365 321T350 357V362L340 363Q339 363 326 363T303 364Q280 364 266 362Q217 352 184 313T151 215Q151 153 199 112T313 70Q341 70 357 85T381 118T394 140Q402 146 424 146Q443 146 447 144Q466 137 466 117Q466 106 457 88T429 47T374 10T291 -6Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(10509,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(11034,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M266 573Q266 596 277 603T314 611H352H385Q411 611 419 607T435 586V76H498Q512 67 516 60T520 38Q520 9 498 1H436Q429 1 417 1T398 0Q375 0 363 7T351 34V43L342 36Q288 -6 223 -6Q143 -6 87 58T31 216Q31 307 88 372T230 437Q292 437 342 405L351 399V535H320L289 536Q266 543 266 573ZM351 290Q347 302 337 316T302 346T244 361Q193 361 154 319T115 215Q115 152 152 111T235 70Q314 70 351 170V290Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(11560,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M191 76Q212 75 220 68T229 38Q229 10 208 1H129H80Q48 1 38 7T28 38Q28 51 29 57T40 69T70 76Q89 76 89 78Q90 79 117 205T173 461T205 599Q212 623 250 623H262H273Q312 623 319 599Q322 591 350 461T406 205T435 78Q435 76 454 76H458Q484 76 493 59Q496 53 496 38Q496 11 478 3Q474 1 395 1H317Q295 8 295 38Q295 65 311 73Q316 75 333 76L348 77V78Q348 80 341 112L334 143H190L183 112Q176 80 176 78Q175 76 178 76Q180 76 191 76ZM318 221Q313 238 288 366T263 519Q263 526 262 527Q261 527 261 520Q261 493 236 365T206 221Q206 219 262 219T318 221Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(12085,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M327 76Q359 76 369 70T380 38Q380 10 359 1H47Q24 8 24 38Q24 54 28 61T47 76H145V355H96L47 356Q24 363 24 393Q24 409 28 416T47 431H207Q223 419 226 414T229 393V387V369Q297 437 394 437Q436 437 461 417T487 368Q487 347 473 332T438 317Q428 317 420 320T407 327T398 337T393 347T390 356L388 361Q348 356 324 345Q228 299 228 170Q228 161 228 151T229 138V76H293H327Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(12611,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M202 538T202 559T218 596T260 612Q283 612 300 597T317 560Q317 538 300 523T260 507Q235 507 219 522ZM411 76Q441 76 451 69T462 38Q462 29 462 26T460 18T453 9T440 1H94Q72 8 72 33V38Q72 46 72 49T74 58T81 68T94 76H233V355H167L102 356Q80 363 80 393Q80 418 91 425T138 432Q145 432 165 432T200 431H295Q297 429 303 425T310 420T314 415T317 404T317 389T318 363Q318 354 318 314T317 241V76H378H411Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(13136,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M25 395Q26 405 26 408T29 416T35 423T48 431H145V481L146 532Q154 547 161 550T184 554H189Q218 554 227 534Q229 529 229 480V431H405Q406 430 411 427T418 422T422 416T426 407T427 393Q427 387 427 382T424 374T421 368T417 363T413 360T408 358L405 356L317 355H229V249Q229 237 229 214T228 179Q228 126 241 98T295 70Q354 70 365 149Q366 167 375 174Q383 182 407 182H415Q438 182 446 166Q448 161 448 148Q448 84 398 39T282 -6Q226 -6 189 29T146 128Q145 134 145 247V355H96H72Q45 355 35 362T25 395Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(13662,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M4 573Q4 596 15 603T52 611H90H124Q146 611 155 608T171 591Q173 586 173 489Q173 394 175 394L186 402Q197 410 219 420T269 434Q278 436 306 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 10 286 32V38V46Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V535H58L27 536Q4 543 4 573Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(14187,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M133 76Q156 74 164 67T172 38Q172 9 151 1H11Q-12 8 -12 38Q-12 61 5 73Q10 75 28 76H45V355H28Q10 356 5 358Q-12 370 -12 393Q-12 419 11 431H52H70Q91 431 100 427T116 405Q163 436 200 436Q255 436 281 390L285 394Q289 398 292 400T301 407T314 415T329 423T346 429T366 434T389 436H392Q425 436 448 411Q469 390 474 360T480 268V232V203V76H497Q520 74 528 67T536 38Q536 9 515 1H396Q374 9 374 32V38Q374 73 402 76H409V191V242Q409 317 404 339T375 361Q343 361 323 332T299 264Q298 258 298 165V76H315Q338 74 346 67T354 38Q354 9 333 1H214Q192 9 192 32V38Q192 73 220 76H227V191V242Q227 317 222 339T193 361Q161 361 141 332T117 264Q116 258 116 165V76H133Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(14713,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(15238,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M25 395Q26 405 26 408T29 416T35 423T48 431H145V481L146 532Q154 547 161 550T184 554H189Q218 554 227 534Q229 529 229 480V431H405Q406 430 411 427T418 422T422 416T426 407T427 393Q427 387 427 382T424 374T421 368T417 363T413 360T408 358L405 356L317 355H229V249Q229 237 229 214T228 179Q228 126 241 98T295 70Q354 70 365 149Q366 167 375 174Q383 182 407 182H415Q438 182 446 166Q448 161 448 148Q448 84 398 39T282 -6Q226 -6 189 29T146 128Q145 134 145 247V355H96H72Q45 355 35 362T25 395Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(15764,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M202 538T202 559T218 596T260 612Q283 612 300 597T317 560Q317 538 300 523T260 507Q235 507 219 522ZM411 76Q441 76 451 69T462 38Q462 29 462 26T460 18T453 9T440 1H94Q72 8 72 33V38Q72 46 72 49T74 58T81 68T94 76H233V355H167L102 356Q80 363 80 393Q80 418 91 425T138 432Q145 432 165 432T200 431H295Q297 429 303 425T310 420T314 415T317 404T317 389T318 363Q318 354 318 314T317 241V76H378H411Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(16289,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M291 -6Q196 -6 131 60T66 216Q66 296 119 361Q154 403 200 421T273 439Q275 440 293 440H313Q400 440 433 409Q454 388 454 359Q454 335 439 321T402 306Q380 306 365 321T350 357V362L340 363Q339 363 326 363T303 364Q280 364 266 362Q217 352 184 313T151 215Q151 153 199 112T313 70Q341 70 357 85T381 118T394 140Q402 146 424 146Q443 146 447 144Q466 137 466 117Q466 106 457 88T429 47T374 10T291 -6Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(16815,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;on the first line, followed by the sum returned by&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;divisorSum&lt;/span&gt;&amp;nbsp;(which is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;) on the second line.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;class &lt;/span&gt;AdvancedArithmetic(&lt;span style=&quot;color: #8888c6;&quot;&gt;object&lt;/span&gt;):
    &lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;divisorSum&lt;/span&gt;(&lt;span style=&quot;color: #94558d;&quot;&gt;n&lt;/span&gt;):
        &lt;span style=&quot;color: #cc7832;&quot;&gt;raise &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;NotImplementedError&lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;class &lt;/span&gt;Calculator(AdvancedArithmetic):
    &lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;divisorSum&lt;/span&gt;(&lt;span style=&quot;color: #94558d;&quot;&gt;self&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;n):
        sum = &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;n+&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;):
            &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;n%i == &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;:
                sum += i
        &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;sum

n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())
my_calculator = Calculator()
s = my_calculator.divisorSum(n)
&lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;I implemented: &quot; &lt;/span&gt;+ &lt;span style=&quot;color: #8888c6;&quot;&gt;type&lt;/span&gt;(my_calculator).&lt;span style=&quot;color: #b200b2;&quot;&gt;__bases__&lt;/span&gt;[&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;].&lt;span style=&quot;color: #b200b2;&quot;&gt;__name__&lt;/span&gt;)
&lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(s)&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/2533229214786893027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-19-interfaces-hacker-rank-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/2533229214786893027'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/2533229214786893027'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-19-interfaces-hacker-rank-solution.html' title='Day 19: Interfaces - Hacker Rank Solution (Python) Code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-6917104310223018739</id><published>2020-05-06T21:11:00.001+05:30</published><updated>2020-05-06T21:11:18.969+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Day 18: Queues and Stacks - Hacker Rank Solution (Python) Code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
Welcome to Day 18! Today we&#39;re learning about Stacks and Queues. Check out the&amp;nbsp;&lt;a href=&quot;https://www.hackerrank.com/challenges/30-queues-stacks/tutorial&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s; vertical-align: baseline; word-break: break-word;&quot;&gt;Tutorial&lt;/a&gt;&amp;nbsp;tab for learning materials and an instructional video!&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
A&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;palindrome&lt;/span&gt;&amp;nbsp;is a word, phrase, number, or other sequence of characters which reads the same backwards and forwards. Can you determine if a given string,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, is a palindrome?&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
To solve this challenge, we must first take each character in&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;enqueue&lt;/span&gt;&amp;nbsp;it in a&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;queue&lt;/span&gt;, and also&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;push&lt;/span&gt;&amp;nbsp;that same character onto a&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;stack&lt;/span&gt;. Once that&#39;s done, we must&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;dequeue&lt;/span&gt;&amp;nbsp;the first character from the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;queue&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;pop&lt;/span&gt;&amp;nbsp;the top character off the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;stack&lt;/span&gt;, then compare the two characters to see if they are the same; as long as the characters match, we continue dequeueing, popping, and comparing each character until our containers are empty (a non-match means&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;isn&#39;t a palindrome).&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
Write the following declarations and implementations:&lt;/div&gt;
&lt;ol style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 10px 0px 20px 20px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Two instance variables: one for your&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2315.5 936.9&quot; width=&quot;5.378ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(469,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(831,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1360,0)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1794,0)&quot;&gt;&lt;path d=&quot;M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, and one for your&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 2538.5 865.1&quot; width=&quot;5.896ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q340 441 372 389Q373 390 377 395T388 406T404 418Q438 442 450 442Q454 442 457 439T460 434Q460 425 391 149Q320 -135 320 -139Q320 -147 365 -148H390Q396 -156 396 -157T393 -175Q389 -188 383 -194H370Q339 -192 262 -192Q234 -192 211 -192T174 -192T157 -193Q143 -193 143 -185Q143 -182 145 -170Q149 -154 152 -151T172 -148Q220 -148 230 -141Q238 -136 258 -53T279 32Q279 33 272 29Q224 -10 172 -10Q117 -10 75 30T33 157ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(460,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1033,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1499,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2072,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;A&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;void pushCharacter(char ch)&lt;/span&gt;&amp;nbsp;method that pushes a character onto a stack.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;A&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;void enqueueCharacter(char ch)&lt;/span&gt;&amp;nbsp;method that enqueues a character in the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 2538.5 865.1&quot; width=&quot;5.896ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q340 441 372 389Q373 390 377 395T388 406T404 418Q438 442 450 442Q454 442 457 439T460 434Q460 425 391 149Q320 -135 320 -139Q320 -147 365 -148H390Q396 -156 396 -157T393 -175Q389 -188 383 -194H370Q339 -192 262 -192Q234 -192 211 -192T174 -192T157 -193Q143 -193 143 -185Q143 -182 145 -170Q149 -154 152 -151T172 -148Q220 -148 230 -141Q238 -136 258 -53T279 32Q279 33 272 29Q224 -10 172 -10Q117 -10 75 30T33 157ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(460,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1033,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1499,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2072,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;instance variable.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;A&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;char popCharacter()&lt;/span&gt;&amp;nbsp;method that pops and returns the character at the top of the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2315.5 936.9&quot; width=&quot;5.378ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(469,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(831,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1360,0)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1794,0)&quot;&gt;&lt;path d=&quot;M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;instance variable.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;A&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;char dequeueCharacter()&lt;/span&gt;&amp;nbsp;method that dequeues and returns the first character in the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 2538.5 865.1&quot; width=&quot;5.896ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q340 441 372 389Q373 390 377 395T388 406T404 418Q438 442 450 442Q454 442 457 439T460 434Q460 425 391 149Q320 -135 320 -139Q320 -147 365 -148H390Q396 -156 396 -157T393 -175Q389 -188 383 -194H370Q339 -192 262 -192Q234 -192 211 -192T174 -192T157 -193Q143 -193 143 -185Q143 -182 145 -170Q149 -154 152 -151T172 -148Q220 -148 230 -141Q238 -136 258 -53T279 32Q279 33 272 29Q224 -10 172 -10Q117 -10 75 30T33 157ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(460,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1033,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1499,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2072,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;instance variable.&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Input Format&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
You&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;do not&lt;/span&gt;&amp;nbsp;need to read anything from stdin. The locked stub code in your editor reads a single line containing string&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. It then calls the methods specified above to pass each character to your instance variables.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Constraints&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 10px 0px 20px 20px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is composed of lowercase English letters.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Output Format&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
You are&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;not&lt;/span&gt;&amp;nbsp;responsible for printing any output to stdout.&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;If your code is correctly written and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is a palindrome, the locked stub code will print&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -504.3 11414.2 793.3&quot; width=&quot;26.51ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M129 38Q129 51 129 55T135 65T151 76H220V535H110V501Q110 470 109 464T101 450Q93 442 68 442H60Q37 442 28 461Q26 466 26 527L27 589Q36 607 49 610H55Q61 610 72 610T97 610T131 610T170 611T215 611T264 611H476Q478 609 483 606T489 602T493 598T496 593T497 586T498 576T498 562V526V488Q498 452 480 444Q476 442 456 442Q431 442 423 450Q416 457 415 463T414 501V535H304V76H374Q389 67 392 61T396 38Q396 10 374 1H151Q140 5 135 11T130 21T129 38Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M4 573Q4 596 15 603T52 611H90H124Q146 611 155 608T171 591Q173 586 173 489Q173 394 175 394L186 402Q197 410 219 420T269 434Q278 436 306 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 10 286 32V38V46Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V535H58L27 536Q4 543 4 573Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(367,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(735,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M54 355Q16 355 16 388V393Q16 423 37 430Q41 431 125 431H162Q206 431 218 425T230 393Q230 366 212 358Q206 355 174 355Q141 355 141 354L150 296Q181 110 181 89V84Q182 85 183 96Q185 118 199 173T218 237Q223 247 245 259H264H268Q294 259 309 240Q315 229 329 174T343 92Q343 84 344 84V86Q344 88 344 91T345 97Q347 125 356 187T374 301T383 354Q383 355 350 355H333Q314 355 304 362T294 393Q294 420 312 428Q318 431 401 431H440Q485 431 496 425T508 393Q508 382 508 377T498 363T470 355L455 354Q455 353 441 271T413 104T396 16Q384 -4 355 -4H351Q315 -4 305 9T280 79Q278 90 276 96Q265 149 265 169Q265 176 264 169Q263 166 263 162Q261 130 248 79T230 18Q220 -4 183 -4H175L151 -3Q134 5 127 17L112 102Q97 188 83 270T69 354Q62 355 54 355Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1628,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M52 216Q52 318 118 379T261 440Q343 440 407 378T472 216Q472 121 410 58T262 -6Q176 -6 114 58T52 216ZM388 225Q388 281 351 322T261 364Q213 364 175 325T136 225Q136 158 174 114T262 70T350 114T388 225Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1996,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M327 76Q359 76 369 70T380 38Q380 10 359 1H47Q24 8 24 38Q24 54 28 61T47 76H145V355H96L47 356Q24 363 24 393Q24 409 28 416T47 431H207Q223 419 226 414T229 393V387V369Q297 437 394 437Q436 437 461 417T487 368Q487 347 473 332T438 317Q428 317 420 320T407 327T398 337T393 347T390 356L388 361Q348 356 324 345Q228 299 228 170Q228 161 228 151T229 138V76H293H327Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2364,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M266 573Q266 596 277 603T314 611H352H385Q411 611 419 607T435 586V76H498Q512 67 516 60T520 38Q520 9 498 1H436Q429 1 417 1T398 0Q375 0 363 7T351 34V43L342 36Q288 -6 223 -6Q143 -6 87 58T31 216Q31 307 88 372T230 437Q292 437 342 405L351 399V535H320L289 536Q266 543 266 573ZM351 290Q347 302 337 316T302 346T244 361Q193 361 154 319T115 215Q115 152 152 111T235 70Q314 70 351 170V290Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2732,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M193 37T193 70T213 121T260 140Q302 140 327 108T353 36Q353 -7 336 -43T294 -98T249 -128T215 -139Q204 -139 189 -125Q177 -111 174 -101Q172 -84 183 -77T217 -61T253 -33Q261 -24 272 1L265 0Q234 0 214 18Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3099,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(3992,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.7)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4321,0)&quot;&gt;&lt;path d=&quot;M193 37T193 70T213 121T260 140Q302 140 327 108T353 36Q353 -7 336 -43T294 -98T249 -128T215 -139Q204 -139 189 -125Q177 -111 174 -101Q172 -84 183 -77T217 -61T253 -33Q261 -24 272 1L265 0Q234 0 214 18Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M202 538T202 559T218 596T260 612Q283 612 300 597T317 560Q317 538 300 523T260 507Q235 507 219 522ZM411 76Q441 76 451 69T462 38Q462 29 462 26T460 18T453 9T440 1H94Q72 8 72 33V38Q72 46 72 49T74 58T81 68T94 76H233V355H167L102 356Q80 363 80 393Q80 418 91 425T138 432Q145 432 165 432T200 431H295Q297 429 303 425T310 420T314 415T317 404T317 389T318 363Q318 354 318 314T317 241V76H378H411Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(892,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M72 317Q72 361 108 396T229 439Q231 439 245 439T268 440Q303 439 324 435T353 427T363 423L372 432Q380 440 397 440Q430 440 430 395Q430 390 430 380T429 366V335Q429 311 422 302T387 293Q364 293 355 300T346 316T343 336T325 353Q306 364 257 364Q209 364 178 351T147 317Q147 284 231 272Q327 256 357 247Q458 210 458 129V121Q458 74 413 34T271 -6Q246 -6 224 -3T189 5T165 14T150 22T144 26Q142 23 139 18T135 11T132 6T128 1T124 -2T119 -4T113 -5T104 -6Q84 -6 78 6T71 43Q71 48 71 60T72 79Q72 132 73 141T81 157Q90 166 115 166Q135 166 142 162T157 140Q168 108 191 90T260 70Q297 70 323 76T361 91T379 110T384 129Q384 157 346 171T247 195T165 212Q119 228 96 256T72 317Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1260,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M126 306Q105 306 90 321T74 359Q74 439 211 439Q268 439 276 438Q343 426 383 390T430 306Q431 301 431 190V81Q446 79 465 78T492 76T509 72T521 60T524 38Q524 11 506 3Q502 1 466 1Q426 1 406 5T379 14T355 36L345 30Q284 -6 205 -6Q135 -6 92 39T48 141Q48 182 79 212T158 256T252 278T342 285H347V290Q347 315 325 335T267 362Q258 363 224 363Q189 363 185 362H179L178 358Q178 353 178 352T176 345T174 337T170 330T165 322T158 316T150 311T139 308T126 306ZM132 140Q132 115 157 93T224 70Q269 70 302 87T344 133Q346 139 347 175V211H339Q256 209 194 190T132 140Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2153,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q93 431 104 431T121 432Q173 432 173 401V396L182 402Q237 437 305 437Q376 437 434 378T492 217Q492 146 459 93T382 17T291 -6Q261 -6 232 5T188 26L174 37Q173 37 173 -54V-146H236Q250 -155 254 -162T258 -184Q258 -213 236 -221H27Q4 -214 4 -184Q4 -169 8 -162T27 -146H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89ZM409 215Q409 269 377 315T283 361Q255 361 224 344T177 297L173 290V167Q189 124 213 97T278 70Q330 70 369 111T409 215Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3046,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M126 306Q105 306 90 321T74 359Q74 439 211 439Q268 439 276 438Q343 426 383 390T430 306Q431 301 431 190V81Q446 79 465 78T492 76T509 72T521 60T524 38Q524 11 506 3Q502 1 466 1Q426 1 406 5T379 14T355 36L345 30Q284 -6 205 -6Q135 -6 92 39T48 141Q48 182 79 212T158 256T252 278T342 285H347V290Q347 315 325 335T267 362Q258 363 224 363Q189 363 185 362H179L178 358Q178 353 178 352T176 345T174 337T170 330T165 322T158 316T150 311T139 308T126 306ZM132 140Q132 115 157 93T224 70Q269 70 302 87T344 133Q346 139 347 175V211H339Q256 209 194 190T132 140Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3414,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M51 573Q51 602 73 610H76Q79 610 84 610T97 610T113 610T133 611T155 611T179 611H282Q301 598 304 586V76H452Q466 67 470 60T474 38Q474 10 452 1H73Q51 9 51 32V38Q51 54 54 60T73 76H220V535H146L73 536Q51 545 51 567V573Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3782,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M202 538T202 559T218 596T260 612Q283 612 300 597T317 560Q317 538 300 523T260 507Q235 507 219 522ZM411 76Q441 76 451 69T462 38Q462 29 462 26T460 18T453 9T440 1H94Q72 8 72 33V38Q72 46 72 49T74 58T81 68T94 76H233V355H167L102 356Q80 363 80 393Q80 418 91 425T138 432Q145 432 165 432T200 431H295Q297 429 303 425T310 420T314 415T317 404T317 389T318 363Q318 354 318 314T317 241V76H378H411Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4149,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4517,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M266 573Q266 596 277 603T314 611H352H385Q411 611 419 607T435 586V76H498Q512 67 516 60T520 38Q520 9 498 1H436Q429 1 417 1T398 0Q375 0 363 7T351 34V43L342 36Q288 -6 223 -6Q143 -6 87 58T31 216Q31 307 88 372T230 437Q292 437 342 405L351 399V535H320L289 536Q266 543 266 573ZM351 290Q347 302 337 316T302 346T244 361Q193 361 154 319T115 215Q115 152 152 111T235 70Q314 70 351 170V290Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4885,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M327 76Q359 76 369 70T380 38Q380 10 359 1H47Q24 8 24 38Q24 54 28 61T47 76H145V355H96L47 356Q24 363 24 393Q24 409 28 416T47 431H207Q223 419 226 414T229 393V387V369Q297 437 394 437Q436 437 461 417T487 368Q487 347 473 332T438 317Q428 317 420 320T407 327T398 337T393 347T390 356L388 361Q348 356 324 345Q228 299 228 170Q228 161 228 151T229 138V76H293H327Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(5253,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M52 216Q52 318 118 379T261 440Q343 440 407 378T472 216Q472 121 410 58T262 -6Q176 -6 114 58T52 216ZM388 225Q388 281 351 322T261 364Q213 364 175 325T136 225Q136 158 174 114T262 70T350 114T388 225Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(5621,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M133 76Q156 74 164 67T172 38Q172 9 151 1H11Q-12 8 -12 38Q-12 61 5 73Q10 75 28 76H45V355H28Q10 356 5 358Q-12 370 -12 393Q-12 419 11 431H52H70Q91 431 100 427T116 405Q163 436 200 436Q255 436 281 390L285 394Q289 398 292 400T301 407T314 415T329 423T346 429T366 434T389 436H392Q425 436 448 411Q469 390 474 360T480 268V232V203V76H497Q520 74 528 67T536 38Q536 9 515 1H396Q374 9 374 32V38Q374 73 402 76H409V191V242Q409 317 404 339T375 361Q343 361 323 332T299 264Q298 258 298 165V76H315Q338 74 346 67T354 38Q354 9 333 1H214Q192 9 192 32V38Q192 73 220 76H227V191V242Q227 317 222 339T193 361Q161 361 141 332T117 264Q116 258 116 165V76H133Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(5989,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(6357,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M193 70Q193 105 214 122T258 140Q291 140 311 120T332 70Q332 44 314 23T262 1Q234 1 214 18T193 70Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(6724,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;; otherwise, it will print&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -504.3 13042.8 793.3&quot; width=&quot;30.293ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M129 38Q129 51 129 55T135 65T151 76H220V535H110V501Q110 470 109 464T101 450Q93 442 68 442H60Q37 442 28 461Q26 466 26 527L27 589Q36 607 49 610H55Q61 610 72 610T97 610T131 610T170 611T215 611T264 611H476Q478 609 483 606T489 602T493 598T496 593T497 586T498 576T498 562V526V488Q498 452 480 444Q476 442 456 442Q431 442 423 450Q416 457 415 463T414 501V535H304V76H374Q389 67 392 61T396 38Q396 10 374 1H151Q140 5 135 11T130 21T129 38Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M4 573Q4 596 15 603T52 611H90H124Q146 611 155 608T171 591Q173 586 173 489Q173 394 175 394L186 402Q197 410 219 420T269 434Q278 436 306 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 10 286 32V38V46Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V535H58L27 536Q4 543 4 573Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(367,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(735,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M54 355Q16 355 16 388V393Q16 423 37 430Q41 431 125 431H162Q206 431 218 425T230 393Q230 366 212 358Q206 355 174 355Q141 355 141 354L150 296Q181 110 181 89V84Q182 85 183 96Q185 118 199 173T218 237Q223 247 245 259H264H268Q294 259 309 240Q315 229 329 174T343 92Q343 84 344 84V86Q344 88 344 91T345 97Q347 125 356 187T374 301T383 354Q383 355 350 355H333Q314 355 304 362T294 393Q294 420 312 428Q318 431 401 431H440Q485 431 496 425T508 393Q508 382 508 377T498 363T470 355L455 354Q455 353 441 271T413 104T396 16Q384 -4 355 -4H351Q315 -4 305 9T280 79Q278 90 276 96Q265 149 265 169Q265 176 264 169Q263 166 263 162Q261 130 248 79T230 18Q220 -4 183 -4H175L151 -3Q134 5 127 17L112 102Q97 188 83 270T69 354Q62 355 54 355Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1628,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M52 216Q52 318 118 379T261 440Q343 440 407 378T472 216Q472 121 410 58T262 -6Q176 -6 114 58T52 216ZM388 225Q388 281 351 322T261 364Q213 364 175 325T136 225Q136 158 174 114T262 70T350 114T388 225Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1996,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M327 76Q359 76 369 70T380 38Q380 10 359 1H47Q24 8 24 38Q24 54 28 61T47 76H145V355H96L47 356Q24 363 24 393Q24 409 28 416T47 431H207Q223 419 226 414T229 393V387V369Q297 437 394 437Q436 437 461 417T487 368Q487 347 473 332T438 317Q428 317 420 320T407 327T398 337T393 347T390 356L388 361Q348 356 324 345Q228 299 228 170Q228 161 228 151T229 138V76H293H327Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2364,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M266 573Q266 596 277 603T314 611H352H385Q411 611 419 607T435 586V76H498Q512 67 516 60T520 38Q520 9 498 1H436Q429 1 417 1T398 0Q375 0 363 7T351 34V43L342 36Q288 -6 223 -6Q143 -6 87 58T31 216Q31 307 88 372T230 437Q292 437 342 405L351 399V535H320L289 536Q266 543 266 573ZM351 290Q347 302 337 316T302 346T244 361Q193 361 154 319T115 215Q115 152 152 111T235 70Q314 70 351 170V290Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2732,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M193 37T193 70T213 121T260 140Q302 140 327 108T353 36Q353 -7 336 -43T294 -98T249 -128T215 -139Q204 -139 189 -125Q177 -111 174 -101Q172 -84 183 -77T217 -61T253 -33Q261 -24 272 1L265 0Q234 0 214 18Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3099,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(3992,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.7)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4321,0)&quot;&gt;&lt;path d=&quot;M193 37T193 70T213 121T260 140Q302 140 327 108T353 36Q353 -7 336 -43T294 -98T249 -128T215 -139Q204 -139 189 -125Q177 -111 174 -101Q172 -84 183 -77T217 -61T253 -33Q261 -24 272 1L265 0Q234 0 214 18Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M202 538T202 559T218 596T260 612Q283 612 300 597T317 560Q317 538 300 523T260 507Q235 507 219 522ZM411 76Q441 76 451 69T462 38Q462 29 462 26T460 18T453 9T440 1H94Q72 8 72 33V38Q72 46 72 49T74 58T81 68T94 76H233V355H167L102 356Q80 363 80 393Q80 418 91 425T138 432Q145 432 165 432T200 431H295Q297 429 303 425T310 420T314 415T317 404T317 389T318 363Q318 354 318 314T317 241V76H378H411Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(892,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M72 317Q72 361 108 396T229 439Q231 439 245 439T268 440Q303 439 324 435T353 427T363 423L372 432Q380 440 397 440Q430 440 430 395Q430 390 430 380T429 366V335Q429 311 422 302T387 293Q364 293 355 300T346 316T343 336T325 353Q306 364 257 364Q209 364 178 351T147 317Q147 284 231 272Q327 256 357 247Q458 210 458 129V121Q458 74 413 34T271 -6Q246 -6 224 -3T189 5T165 14T150 22T144 26Q142 23 139 18T135 11T132 6T128 1T124 -2T119 -4T113 -5T104 -6Q84 -6 78 6T71 43Q71 48 71 60T72 79Q72 132 73 141T81 157Q90 166 115 166Q135 166 142 162T157 140Q168 108 191 90T260 70Q297 70 323 76T361 91T379 110T384 129Q384 157 346 171T247 195T165 212Q119 228 96 256T72 317Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1260,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2153,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M52 216Q52 318 118 379T261 440Q343 440 407 378T472 216Q472 121 410 58T262 -6Q176 -6 114 58T52 216ZM388 225Q388 281 351 322T261 364Q213 364 175 325T136 225Q136 158 174 114T262 70T350 114T388 225Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2521,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M25 395Q26 405 26 408T29 416T35 423T48 431H145V481L146 532Q154 547 161 550T184 554H189Q218 554 227 534Q229 529 229 480V431H405Q406 430 411 427T418 422T422 416T426 407T427 393Q427 387 427 382T424 374T421 368T417 363T413 360T408 358L405 356L317 355H229V249Q229 237 229 214T228 179Q228 126 241 98T295 70Q354 70 365 149Q366 167 375 174Q383 182 407 182H415Q438 182 446 166Q448 161 448 148Q448 84 398 39T282 -6Q226 -6 189 29T146 128Q145 134 145 247V355H96H72Q45 355 35 362T25 395Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2889,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M126 306Q105 306 90 321T74 359Q74 439 211 439Q268 439 276 438Q343 426 383 390T430 306Q431 301 431 190V81Q446 79 465 78T492 76T509 72T521 60T524 38Q524 11 506 3Q502 1 466 1Q426 1 406 5T379 14T355 36L345 30Q284 -6 205 -6Q135 -6 92 39T48 141Q48 182 79 212T158 256T252 278T342 285H347V290Q347 315 325 335T267 362Q258 363 224 363Q189 363 185 362H179L178 358Q178 353 178 352T176 345T174 337T170 330T165 322T158 316T150 311T139 308T126 306ZM132 140Q132 115 157 93T224 70Q269 70 302 87T344 133Q346 139 347 175V211H339Q256 209 194 190T132 140Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3782,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q93 431 104 431T121 432Q173 432 173 401V396L182 402Q237 437 305 437Q376 437 434 378T492 217Q492 146 459 93T382 17T291 -6Q261 -6 232 5T188 26L174 37Q173 37 173 -54V-146H236Q250 -155 254 -162T258 -184Q258 -213 236 -221H27Q4 -214 4 -184Q4 -169 8 -162T27 -146H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89ZM409 215Q409 269 377 315T283 361Q255 361 224 344T177 297L173 290V167Q189 124 213 97T278 70Q330 70 369 111T409 215Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4674,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M126 306Q105 306 90 321T74 359Q74 439 211 439Q268 439 276 438Q343 426 383 390T430 306Q431 301 431 190V81Q446 79 465 78T492 76T509 72T521 60T524 38Q524 11 506 3Q502 1 466 1Q426 1 406 5T379 14T355 36L345 30Q284 -6 205 -6Q135 -6 92 39T48 141Q48 182 79 212T158 256T252 278T342 285H347V290Q347 315 325 335T267 362Q258 363 224 363Q189 363 185 362H179L178 358Q178 353 178 352T176 345T174 337T170 330T165 322T158 316T150 311T139 308T126 306ZM132 140Q132 115 157 93T224 70Q269 70 302 87T344 133Q346 139 347 175V211H339Q256 209 194 190T132 140Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(5042,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M51 573Q51 602 73 610H76Q79 610 84 610T97 610T113 610T133 611T155 611T179 611H282Q301 598 304 586V76H452Q466 67 470 60T474 38Q474 10 452 1H73Q51 9 51 32V38Q51 54 54 60T73 76H220V535H146L73 536Q51 545 51 567V573Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(5410,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M202 538T202 559T218 596T260 612Q283 612 300 597T317 560Q317 538 300 523T260 507Q235 507 219 522ZM411 76Q441 76 451 69T462 38Q462 29 462 26T460 18T453 9T440 1H94Q72 8 72 33V38Q72 46 72 49T74 58T81 68T94 76H233V355H167L102 356Q80 363 80 393Q80 418 91 425T138 432Q145 432 165 432T200 431H295Q297 429 303 425T310 420T314 415T317 404T317 389T318 363Q318 354 318 314T317 241V76H378H411Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(5778,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(6146,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M266 573Q266 596 277 603T314 611H352H385Q411 611 419 607T435 586V76H498Q512 67 516 60T520 38Q520 9 498 1H436Q429 1 417 1T398 0Q375 0 363 7T351 34V43L342 36Q288 -6 223 -6Q143 -6 87 58T31 216Q31 307 88 372T230 437Q292 437 342 405L351 399V535H320L289 536Q266 543 266 573ZM351 290Q347 302 337 316T302 346T244 361Q193 361 154 319T115 215Q115 152 152 111T235 70Q314 70 351 170V290Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(6514,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M327 76Q359 76 369 70T380 38Q380 10 359 1H47Q24 8 24 38Q24 54 28 61T47 76H145V355H96L47 356Q24 363 24 393Q24 409 28 416T47 431H207Q223 419 226 414T229 393V387V369Q297 437 394 437Q436 437 461 417T487 368Q487 347 473 332T438 317Q428 317 420 320T407 327T398 337T393 347T390 356L388 361Q348 356 324 345Q228 299 228 170Q228 161 228 151T229 138V76H293H327Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(6882,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M52 216Q52 318 118 379T261 440Q343 440 407 378T472 216Q472 121 410 58T262 -6Q176 -6 114 58T52 216ZM388 225Q388 281 351 322T261 364Q213 364 175 325T136 225Q136 158 174 114T262 70T350 114T388 225Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(7249,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M133 76Q156 74 164 67T172 38Q172 9 151 1H11Q-12 8 -12 38Q-12 61 5 73Q10 75 28 76H45V355H28Q10 356 5 358Q-12 370 -12 393Q-12 419 11 431H52H70Q91 431 100 427T116 405Q163 436 200 436Q255 436 281 390L285 394Q289 398 292 400T301 407T314 415T329 423T346 429T366 434T389 436H392Q425 436 448 411Q469 390 474 360T480 268V232V203V76H497Q520 74 528 67T536 38Q536 9 515 1H396Q374 9 374 32V38Q374 73 402 76H409V191V242Q409 317 404 339T375 361Q343 361 323 332T299 264Q298 258 298 165V76H315Q338 74 346 67T354 38Q354 9 333 1H214Q192 9 192 32V38Q192 73 220 76H227V191V242Q227 317 222 339T193 361Q161 361 141 332T117 264Q116 258 116 165V76H133Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(7617,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(7985,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M193 70Q193 105 214 122T258 140Q291 140 311 120T332 70Q332 44 314 23T262 1Q234 1 214 18T193 70Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(8353,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Input&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;racecar
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Output&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;The word, racecar, is a palindrome.&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys
&lt;span style=&quot;color: #cc7832;&quot;&gt;from &lt;/span&gt;queue &lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;LifoQueue
&lt;span style=&quot;color: #cc7832;&quot;&gt;from &lt;/span&gt;queue &lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;Queue


&lt;span style=&quot;color: #cc7832;&quot;&gt;class &lt;/span&gt;Solution:
    stack = LifoQueue(&lt;span style=&quot;color: #aa4926;&quot;&gt;maxsize&lt;/span&gt;=&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;)
    queue = Queue(&lt;span style=&quot;color: #aa4926;&quot;&gt;maxsize&lt;/span&gt;=&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;)

    &lt;span style=&quot;color: grey;&quot;&gt;# Write your code here&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;pushCharacter&lt;/span&gt;(&lt;span style=&quot;color: #94558d;&quot;&gt;self&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;char):
        Solution.stack.put(char)

    &lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;enqueueCharacter&lt;/span&gt;(&lt;span style=&quot;color: #94558d;&quot;&gt;self&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;char):
        Solution.queue.put(char)

    &lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;popCharacter&lt;/span&gt;(&lt;span style=&quot;color: #94558d;&quot;&gt;self&lt;/span&gt;):
        &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;Solution.stack.get()

    &lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;dequeueCharacter&lt;/span&gt;(&lt;span style=&quot;color: #94558d;&quot;&gt;self&lt;/span&gt;):
        &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;Solution.queue.get()


&lt;span style=&quot;color: grey;&quot;&gt;# read the string s&lt;/span&gt;s = &lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;()
&lt;span style=&quot;color: grey;&quot;&gt;# Create the Solution class object&lt;/span&gt;obj = Solution()

l = &lt;span style=&quot;color: #8888c6;&quot;&gt;len&lt;/span&gt;(s)
&lt;span style=&quot;color: grey;&quot;&gt;# push/enqueue all the characters of string s to stack&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(l):
    obj.pushCharacter(s[i])
    obj.enqueueCharacter(s[i])

isPalindrome = &lt;span style=&quot;color: #cc7832;&quot;&gt;True&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&#39;&#39;&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;pop the top character from stack&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;dequeue the first character from queue&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;compare both the characters&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&#39;&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(l // &lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;):
    &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;obj.popCharacter() != obj.dequeueCharacter():
        isPalindrome = &lt;span style=&quot;color: #cc7832;&quot;&gt;False&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;        break&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;# finally print whether string s is palindrome or not.&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;isPalindrome:
    &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;The word, &quot; &lt;/span&gt;+ s + &lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;, is a palindrome.&quot;&lt;/span&gt;)
&lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
    &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;The word, &quot; &lt;/span&gt;+ s + &lt;span style=&quot;color: #6a8759;&quot;&gt;&quot;, is not a palindrome.&quot;&lt;/span&gt;)    &lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/6917104310223018739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-18-queues-and-stacks-hacker-rank.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/6917104310223018739'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/6917104310223018739'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-18-queues-and-stacks-hacker-rank.html' title='Day 18: Queues and Stacks - Hacker Rank Solution (Python) Code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-780560846571870127</id><published>2020-05-06T20:37:00.003+05:30</published><updated>2020-05-06T20:37:48.136+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Day 17: More Exceptions - Hacker Rank solutions (Python) code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Objective&lt;/strong&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;Yesterday&#39;s challenge taught you to manage exceptional situations by using&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;try&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;catch&lt;/span&gt;&amp;nbsp;blocks. In today&#39;s challenge, you&#39;re going to practice throwing and propagating an exception. Check out the&amp;nbsp;&lt;a href=&quot;https://www.hackerrank.com/challenges/30-more-exceptions/tutorial&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s; vertical-align: baseline; word-break: break-word;&quot;&gt;Tutorial&lt;/a&gt;&amp;nbsp;tab for learning materials and an instructional video!&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Task&lt;/strong&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;Write a&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Calculator&lt;/span&gt;&amp;nbsp;class with a single method:&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;int power(int,int)&lt;/span&gt;. The&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;power&lt;/span&gt;&amp;nbsp;method takes two integers,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;-38.5 -576.1 542 865.1&quot; width=&quot;1.259ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, as parameters and returns the integer result of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1056.5 936.9&quot; width=&quot;2.454ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(600,362)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. If either&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;or&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;-38.5 -576.1 542 865.1&quot; width=&quot;1.259ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is negative, then the method must throw an exception with the message:&amp;nbsp;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;n and p should be non-negative&lt;/code&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Note:&lt;/strong&gt;&amp;nbsp;Do not use an access modifier (e.g.: public) in the declaration for your&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Calculator&lt;/span&gt;&amp;nbsp;class.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Input Format&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
Input from stdin is handled for you by the locked stub code in your editor. The first line contains an integer,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 704.5 936.9&quot; width=&quot;1.636ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M40 437Q21 437 21 445Q21 450 37 501T71 602L88 651Q93 669 101 677H569H659Q691 677 697 676T704 667Q704 661 687 553T668 444Q668 437 649 437Q640 437 637 437T631 442L629 445Q629 451 635 490T641 551Q641 586 628 604T573 629Q568 630 515 631Q469 631 457 630T439 622Q438 621 368 343T298 60Q298 48 386 46Q418 46 427 45T436 36Q436 31 433 22Q429 4 424 1L422 0Q419 0 415 0Q410 0 363 1T228 2Q99 2 64 0H49Q43 6 43 9T45 27Q49 40 55 46H83H94Q174 46 189 55Q190 56 191 56Q196 59 201 76T241 233Q258 301 269 344Q339 619 339 625Q339 630 310 630H279Q212 630 191 624Q146 614 121 583T67 467Q60 445 57 441T43 437H40Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the number of test cases. Each of the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 704.5 936.9&quot; width=&quot;1.636ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M40 437Q21 437 21 445Q21 450 37 501T71 602L88 651Q93 669 101 677H569H659Q691 677 697 676T704 667Q704 661 687 553T668 444Q668 437 649 437Q640 437 637 437T631 442L629 445Q629 451 635 490T641 551Q641 586 628 604T573 629Q568 630 515 631Q469 631 457 630T439 622Q438 621 368 343T298 60Q298 48 386 46Q418 46 427 45T436 36Q436 31 433 22Q429 4 424 1L422 0Q419 0 415 0Q410 0 363 1T228 2Q99 2 64 0H49Q43 6 43 9T45 27Q49 40 55 46H83H94Q174 46 189 55Q190 56 191 56Q196 59 201 76T241 233Q258 301 269 344Q339 619 339 625Q339 630 310 630H279Q212 630 191 624Q146 614 121 583T67 467Q60 445 57 441T43 437H40Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;subsequent lines describes a test case in&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;space-separated integers denoting&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;-38.5 -576.1 542 865.1&quot; width=&quot;1.259ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, respectively.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Constraints&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 10px 0px 20px 20px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;No Test Case will result in overflow for correctly written code.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Output Format&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
Output to stdout is handled for you by the locked stub code in your editor. There are&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 704.5 936.9&quot; width=&quot;1.636ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M40 437Q21 437 21 445Q21 450 37 501T71 602L88 651Q93 669 101 677H569H659Q691 677 697 676T704 667Q704 661 687 553T668 444Q668 437 649 437Q640 437 637 437T631 442L629 445Q629 451 635 490T641 551Q641 586 628 604T573 629Q568 630 515 631Q469 631 457 630T439 622Q438 621 368 343T298 60Q298 48 386 46Q418 46 427 45T436 36Q436 31 433 22Q429 4 424 1L422 0Q419 0 415 0Q410 0 363 1T228 2Q99 2 64 0H49Q43 6 43 9T45 27Q49 40 55 46H83H94Q174 46 189 55Q190 56 191 56Q196 59 201 76T241 233Q258 301 269 344Q339 619 339 625Q339 630 310 630H279Q212 630 191 624Q146 614 121 583T67 467Q60 445 57 441T43 437H40Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;lines of output, where each line contains the result of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1056.5 936.9&quot; width=&quot;2.454ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(600,362)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;as calculated by your&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Calculator&lt;/span&gt;&amp;nbsp;class&#39;&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;power&lt;/span&gt;&amp;nbsp;method.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Input&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;4
3 5
2 4
-1 -2
-1 3
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Output&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;243
16
n and p should be non-negative
n and p should be non-negative
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Explanation&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2539.1 936.9&quot; width=&quot;5.897ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M40 437Q21 437 21 445Q21 450 37 501T71 602L88 651Q93 669 101 677H569H659Q691 677 697 676T704 667Q704 661 687 553T668 444Q668 437 649 437Q640 437 637 437T631 442L629 445Q629 451 635 490T641 551Q641 586 628 604T573 629Q568 630 515 631Q469 631 457 630T439 622Q438 621 368 343T298 60Q298 48 386 46Q418 46 427 45T436 36Q436 31 433 22Q429 4 424 1L422 0Q419 0 415 0Q410 0 363 1T228 2Q99 2 64 0H49Q43 6 43 9T45 27Q49 40 55 46H83H94Q174 46 189 55Q190 56 191 56Q196 59 201 76T241 233Q258 301 269 344Q339 619 339 625Q339 630 310 630H279Q212 630 191 624Q146 614 121 583T67 467Q60 445 57 441T43 437H40Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(982,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2038,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 1038.4 1080.4&quot; width=&quot;2.412ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M40 437Q21 437 21 445Q21 450 37 501T71 602L88 651Q93 669 101 677H569H659Q691 677 697 676T704 667Q704 661 687 553T668 444Q668 437 649 437Q640 437 637 437T631 442L629 445Q629 451 635 490T641 551Q641 586 628 604T573 629Q568 630 515 631Q469 631 457 630T439 622Q438 621 368 343T298 60Q298 48 386 46Q418 46 427 45T436 36Q436 31 433 22Q429 4 424 1L422 0Q419 0 415 0Q410 0 363 1T228 2Q99 2 64 0H49Q43 6 43 9T45 27Q49 40 55 46H83H94Q174 46 189 55Q190 56 191 56Q196 59 201 76T241 233Q258 301 269 344Q339 619 339 625Q339 630 310 630H279Q212 630 191 624Q146 614 121 583T67 467Q60 445 57 441T43 437H40Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(584,-150)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;:&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;are positive, so&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;power&lt;/span&gt;&amp;nbsp;returns the result of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 954.4 1152.1&quot; width=&quot;2.217ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(500,392)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, which is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1501.5 936.9&quot; width=&quot;3.487ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 1038.4 1080.4&quot; width=&quot;2.412ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M40 437Q21 437 21 445Q21 450 37 501T71 602L88 651Q93 669 101 677H569H659Q691 677 697 676T704 667Q704 661 687 553T668 444Q668 437 649 437Q640 437 637 437T631 442L629 445Q629 451 635 490T641 551Q641 586 628 604T573 629Q568 630 515 631Q469 631 457 630T439 622Q438 621 368 343T298 60Q298 48 386 46Q418 46 427 45T436 36Q436 31 433 22Q429 4 424 1L422 0Q419 0 415 0Q410 0 363 1T228 2Q99 2 64 0H49Q43 6 43 9T45 27Q49 40 55 46H83H94Q174 46 189 55Q190 56 191 56Q196 59 201 76T241 233Q258 301 269 344Q339 619 339 625Q339 630 310 630H279Q212 630 191 624Q146 614 121 583T67 467Q60 445 57 441T43 437H40Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(584,-150)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;:&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;are positive, so&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;power&lt;/span&gt;&amp;nbsp;returns the result of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-10-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 954.4 1152.1&quot; width=&quot;2.217ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(500,393)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;=, which is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-11-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-12-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 1038.4 1080.4&quot; width=&quot;2.412ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M40 437Q21 437 21 445Q21 450 37 501T71 602L88 651Q93 669 101 677H569H659Q691 677 697 676T704 667Q704 661 687 553T668 444Q668 437 649 437Q640 437 637 437T631 442L629 445Q629 451 635 490T641 551Q641 586 628 604T573 629Q568 630 515 631Q469 631 457 630T439 622Q438 621 368 343T298 60Q298 48 386 46Q418 46 427 45T436 36Q436 31 433 22Q429 4 424 1L422 0Q419 0 415 0Q410 0 363 1T228 2Q99 2 64 0H49Q43 6 43 9T45 27Q49 40 55 46H83H94Q174 46 189 55Q190 56 191 56Q196 59 201 76T241 233Q258 301 269 344Q339 619 339 625Q339 630 310 630H279Q212 630 191 624Q146 614 121 583T67 467Q60 445 57 441T43 437H40Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(584,-150)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;: Both inputs (&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-13-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1279 936.9&quot; width=&quot;2.971ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-14-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1279 936.9&quot; width=&quot;2.971ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;) are negative, so&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;power&lt;/span&gt;&amp;nbsp;throws an exception and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-15-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -504.3 11821.3 793.3&quot; width=&quot;27.456ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M126 306Q105 306 90 321T74 359Q74 439 211 439Q268 439 276 438Q343 426 383 390T430 306Q431 301 431 190V81Q446 79 465 78T492 76T509 72T521 60T524 38Q524 11 506 3Q502 1 466 1Q426 1 406 5T379 14T355 36L345 30Q284 -6 205 -6Q135 -6 92 39T48 141Q48 182 79 212T158 256T252 278T342 285H347V290Q347 315 325 335T267 362Q258 363 224 363Q189 363 185 362H179L178 358Q178 353 178 352T176 345T174 337T170 330T165 322T158 316T150 311T139 308T126 306ZM132 140Q132 115 157 93T224 70Q269 70 302 87T344 133Q346 139 347 175V211H339Q256 209 194 190T132 140Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(892,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1260,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M266 573Q266 596 277 603T314 611H352H385Q411 611 419 607T435 586V76H498Q512 67 516 60T520 38Q520 9 498 1H436Q429 1 417 1T398 0Q375 0 363 7T351 34V43L342 36Q288 -6 223 -6Q143 -6 87 58T31 216Q31 307 88 372T230 437Q292 437 342 405L351 399V535H320L289 536Q266 543 266 573ZM351 290Q347 302 337 316T302 346T244 361Q193 361 154 319T115 215Q115 152 152 111T235 70Q314 70 351 170V290Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1628,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q93 431 104 431T121 432Q173 432 173 401V396L182 402Q237 437 305 437Q376 437 434 378T492 217Q492 146 459 93T382 17T291 -6Q261 -6 232 5T188 26L174 37Q173 37 173 -54V-146H236Q250 -155 254 -162T258 -184Q258 -213 236 -221H27Q4 -214 4 -184Q4 -169 8 -162T27 -146H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89ZM409 215Q409 269 377 315T283 361Q255 361 224 344T177 297L173 290V167Q189 124 213 97T278 70Q330 70 369 111T409 215Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2521,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M72 317Q72 361 108 396T229 439Q231 439 245 439T268 440Q303 439 324 435T353 427T363 423L372 432Q380 440 397 440Q430 440 430 395Q430 390 430 380T429 366V335Q429 311 422 302T387 293Q364 293 355 300T346 316T343 336T325 353Q306 364 257 364Q209 364 178 351T147 317Q147 284 231 272Q327 256 357 247Q458 210 458 129V121Q458 74 413 34T271 -6Q246 -6 224 -3T189 5T165 14T150 22T144 26Q142 23 139 18T135 11T132 6T128 1T124 -2T119 -4T113 -5T104 -6Q84 -6 78 6T71 43Q71 48 71 60T72 79Q72 132 73 141T81 157Q90 166 115 166Q135 166 142 162T157 140Q168 108 191 90T260 70Q297 70 323 76T361 91T379 110T384 129Q384 157 346 171T247 195T165 212Q119 228 96 256T72 317Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3414,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M4 573Q4 596 15 603T52 611H90H124Q146 611 155 608T171 591Q173 586 173 489Q173 394 175 394L186 402Q197 410 219 420T269 434Q278 436 306 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 10 286 32V38V46Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V535H58L27 536Q4 543 4 573Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3782,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M52 216Q52 318 118 379T261 440Q343 440 407 378T472 216Q472 121 410 58T262 -6Q176 -6 114 58T52 216ZM388 225Q388 281 351 322T261 364Q213 364 175 325T136 225Q136 158 174 114T262 70T350 114T388 225Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4149,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M4 393Q4 416 15 423T52 431H90Q141 431 151 429T168 417Q171 412 173 409V254L174 100Q182 70 244 70Q320 70 344 119Q349 130 350 144T351 248V355H320L289 356Q266 363 266 393Q266 408 270 415T289 431H351H386Q409 431 418 428T433 411Q435 406 435 241V76H498Q512 67 516 60T520 38Q520 9 498 1H436H394Q372 1 364 5T351 26L342 21Q293 -5 227 -5Q118 -5 96 67Q91 82 90 101T89 227V355H58L27 356Q4 363 4 393Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4517,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M51 573Q51 602 73 610H76Q79 610 84 610T97 610T113 610T133 611T155 611T179 611H282Q301 598 304 586V76H452Q466 67 470 60T474 38Q474 10 452 1H73Q51 9 51 32V38Q51 54 54 60T73 76H220V535H146L73 536Q51 545 51 567V573Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4885,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M266 573Q266 596 277 603T314 611H352H385Q411 611 419 607T435 586V76H498Q512 67 516 60T520 38Q520 9 498 1H436Q429 1 417 1T398 0Q375 0 363 7T351 34V43L342 36Q288 -6 223 -6Q143 -6 87 58T31 216Q31 307 88 372T230 437Q292 437 342 405L351 399V535H320L289 536Q266 543 266 573ZM351 290Q347 302 337 316T302 346T244 361Q193 361 154 319T115 215Q115 152 152 111T235 70Q314 70 351 170V290Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(5253,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M4 573Q4 596 15 603T52 611H90H124Q146 611 155 608T171 591Q173 586 173 491V396L182 402Q217 424 256 431Q280 437 309 437Q376 437 434 379T492 217Q492 162 473 118T422 47T358 8T293 -6Q229 -6 174 38Q171 13 163 7T135 1H131H122Q99 1 90 23L89 279V535H58L27 536Q4 543 4 573ZM409 215Q409 269 377 315T283 361Q255 361 224 344T177 297L173 290V167Q189 124 213 97T278 70Q330 70 369 111T409 215Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(6146,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(6514,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(7407,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M52 216Q52 318 118 379T261 440Q343 440 407 378T472 216Q472 121 410 58T262 -6Q176 -6 114 58T52 216ZM388 225Q388 281 351 322T261 364Q213 364 175 325T136 225Q136 158 174 114T262 70T350 114T388 225Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(7774,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(8142,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M57 306Q57 333 86 341H438Q468 332 468 306T438 271H86Q57 280 57 306Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(8510,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(8878,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(9246,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M60 274Q60 337 107 386T233 436Q278 436 316 417L329 410L338 416Q384 442 427 442T489 423T509 381T494 345T460 332Q449 332 440 338Q432 341 427 348T419 360T415 365Q414 364 410 364L383 355Q406 320 406 274Q406 211 358 162T233 112Q189 112 155 128L146 133Q142 125 142 115Q142 99 150 85T175 71Q182 72 187 70Q188 70 195 70T218 70T254 69Q259 69 275 69T297 69T318 68T340 66T361 62T384 57T405 49T428 38Q495 -1 495 -76Q495 -143 427 -186T262 -229Q161 -229 94 -185T29 -73Q30 -60 33 -48T39 -26T47 -8T57 8T67 20T77 30T86 38L91 43Q91 44 86 53T75 80T70 117Q70 142 89 183L83 194Q60 232 60 274ZM321 274Q321 312 296 337T230 362Q197 362 171 338T145 274Q145 235 170 211T233 187Q273 187 297 212T321 274ZM422 -78Q422 -54 408 -38T366 -15T315 -6T255 -4H200Q198 -4 193 -4T183 -3Q148 -3 125 -26T102 -78Q102 -110 151 -132T261 -154Q321 -154 371 -132T422 -78Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(9614,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M126 306Q105 306 90 321T74 359Q74 439 211 439Q268 439 276 438Q343 426 383 390T430 306Q431 301 431 190V81Q446 79 465 78T492 76T509 72T521 60T524 38Q524 11 506 3Q502 1 466 1Q426 1 406 5T379 14T355 36L345 30Q284 -6 205 -6Q135 -6 92 39T48 141Q48 182 79 212T158 256T252 278T342 285H347V290Q347 315 325 335T267 362Q258 363 224 363Q189 363 185 362H179L178 358Q178 353 178 352T176 345T174 337T170 330T165 322T158 316T150 311T139 308T126 306ZM132 140Q132 115 157 93T224 70Q269 70 302 87T344 133Q346 139 347 175V211H339Q256 209 194 190T132 140Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(9982,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M25 395Q26 405 26 408T29 416T35 423T48 431H145V481L146 532Q154 547 161 550T184 554H189Q218 554 227 534Q229 529 229 480V431H405Q406 430 411 427T418 422T422 416T426 407T427 393Q427 387 427 382T424 374T421 368T417 363T413 360T408 358L405 356L317 355H229V249Q229 237 229 214T228 179Q228 126 241 98T295 70Q354 70 365 149Q366 167 375 174Q383 182 407 182H415Q438 182 446 166Q448 161 448 148Q448 84 398 39T282 -6Q226 -6 189 29T146 128Q145 134 145 247V355H96H72Q45 355 35 362T25 395Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(10349,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M202 538T202 559T218 596T260 612Q283 612 300 597T317 560Q317 538 300 523T260 507Q235 507 219 522ZM411 76Q441 76 451 69T462 38Q462 29 462 26T460 18T453 9T440 1H94Q72 8 72 33V38Q72 46 72 49T74 58T81 68T94 76H233V355H167L102 356Q80 363 80 393Q80 418 91 425T138 432Q145 432 165 432T200 431H295Q297 429 303 425T310 420T314 415T317 404T317 389T318 363Q318 354 318 314T317 241V76H378H411Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(10717,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M24 392Q24 417 36 424T79 432Q85 432 103 432T132 431H215Q229 422 233 415T237 393Q237 355 198 355H193H172L262 77L352 355H331H323Q288 355 288 393Q288 409 291 415T310 431H478Q491 423 495 416T500 393Q500 364 478 356L452 355H426L374 190Q320 24 318 20Q307 -4 273 -4H262H251Q217 -4 206 20Q204 24 150 190L98 355H72L47 356Q24 363 24 392Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(11085,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(11453,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is printed.&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-16-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 1038.4 1080.4&quot; width=&quot;2.412ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M40 437Q21 437 21 445Q21 450 37 501T71 602L88 651Q93 669 101 677H569H659Q691 677 697 676T704 667Q704 661 687 553T668 444Q668 437 649 437Q640 437 637 437T631 442L629 445Q629 451 635 490T641 551Q641 586 628 604T573 629Q568 630 515 631Q469 631 457 630T439 622Q438 621 368 343T298 60Q298 48 386 46Q418 46 427 45T436 36Q436 31 433 22Q429 4 424 1L422 0Q419 0 415 0Q410 0 363 1T228 2Q99 2 64 0H49Q43 6 43 9T45 27Q49 40 55 46H83H94Q174 46 189 55Q190 56 191 56Q196 59 201 76T241 233Q258 301 269 344Q339 619 339 625Q339 630 310 630H279Q212 630 191 624Q146 614 121 583T67 467Q60 445 57 441T43 437H40Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(584,-150)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;: One of the inputs (&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-17-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1279 936.9&quot; width=&quot;2.971ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;) is negative, so&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;power&lt;/span&gt;&amp;nbsp;throws an exception and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-18-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -504.3 11821.3 793.3&quot; width=&quot;27.456ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M126 306Q105 306 90 321T74 359Q74 439 211 439Q268 439 276 438Q343 426 383 390T430 306Q431 301 431 190V81Q446 79 465 78T492 76T509 72T521 60T524 38Q524 11 506 3Q502 1 466 1Q426 1 406 5T379 14T355 36L345 30Q284 -6 205 -6Q135 -6 92 39T48 141Q48 182 79 212T158 256T252 278T342 285H347V290Q347 315 325 335T267 362Q258 363 224 363Q189 363 185 362H179L178 358Q178 353 178 352T176 345T174 337T170 330T165 322T158 316T150 311T139 308T126 306ZM132 140Q132 115 157 93T224 70Q269 70 302 87T344 133Q346 139 347 175V211H339Q256 209 194 190T132 140Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(892,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1260,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M266 573Q266 596 277 603T314 611H352H385Q411 611 419 607T435 586V76H498Q512 67 516 60T520 38Q520 9 498 1H436Q429 1 417 1T398 0Q375 0 363 7T351 34V43L342 36Q288 -6 223 -6Q143 -6 87 58T31 216Q31 307 88 372T230 437Q292 437 342 405L351 399V535H320L289 536Q266 543 266 573ZM351 290Q347 302 337 316T302 346T244 361Q193 361 154 319T115 215Q115 152 152 111T235 70Q314 70 351 170V290Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1628,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q93 431 104 431T121 432Q173 432 173 401V396L182 402Q237 437 305 437Q376 437 434 378T492 217Q492 146 459 93T382 17T291 -6Q261 -6 232 5T188 26L174 37Q173 37 173 -54V-146H236Q250 -155 254 -162T258 -184Q258 -213 236 -221H27Q4 -214 4 -184Q4 -169 8 -162T27 -146H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89ZM409 215Q409 269 377 315T283 361Q255 361 224 344T177 297L173 290V167Q189 124 213 97T278 70Q330 70 369 111T409 215Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2521,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M72 317Q72 361 108 396T229 439Q231 439 245 439T268 440Q303 439 324 435T353 427T363 423L372 432Q380 440 397 440Q430 440 430 395Q430 390 430 380T429 366V335Q429 311 422 302T387 293Q364 293 355 300T346 316T343 336T325 353Q306 364 257 364Q209 364 178 351T147 317Q147 284 231 272Q327 256 357 247Q458 210 458 129V121Q458 74 413 34T271 -6Q246 -6 224 -3T189 5T165 14T150 22T144 26Q142 23 139 18T135 11T132 6T128 1T124 -2T119 -4T113 -5T104 -6Q84 -6 78 6T71 43Q71 48 71 60T72 79Q72 132 73 141T81 157Q90 166 115 166Q135 166 142 162T157 140Q168 108 191 90T260 70Q297 70 323 76T361 91T379 110T384 129Q384 157 346 171T247 195T165 212Q119 228 96 256T72 317Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3414,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M4 573Q4 596 15 603T52 611H90H124Q146 611 155 608T171 591Q173 586 173 489Q173 394 175 394L186 402Q197 410 219 420T269 434Q278 436 306 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 10 286 32V38V46Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V535H58L27 536Q4 543 4 573Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3782,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M52 216Q52 318 118 379T261 440Q343 440 407 378T472 216Q472 121 410 58T262 -6Q176 -6 114 58T52 216ZM388 225Q388 281 351 322T261 364Q213 364 175 325T136 225Q136 158 174 114T262 70T350 114T388 225Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4149,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M4 393Q4 416 15 423T52 431H90Q141 431 151 429T168 417Q171 412 173 409V254L174 100Q182 70 244 70Q320 70 344 119Q349 130 350 144T351 248V355H320L289 356Q266 363 266 393Q266 408 270 415T289 431H351H386Q409 431 418 428T433 411Q435 406 435 241V76H498Q512 67 516 60T520 38Q520 9 498 1H436H394Q372 1 364 5T351 26L342 21Q293 -5 227 -5Q118 -5 96 67Q91 82 90 101T89 227V355H58L27 356Q4 363 4 393Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4517,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M51 573Q51 602 73 610H76Q79 610 84 610T97 610T113 610T133 611T155 611T179 611H282Q301 598 304 586V76H452Q466 67 470 60T474 38Q474 10 452 1H73Q51 9 51 32V38Q51 54 54 60T73 76H220V535H146L73 536Q51 545 51 567V573Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4885,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M266 573Q266 596 277 603T314 611H352H385Q411 611 419 607T435 586V76H498Q512 67 516 60T520 38Q520 9 498 1H436Q429 1 417 1T398 0Q375 0 363 7T351 34V43L342 36Q288 -6 223 -6Q143 -6 87 58T31 216Q31 307 88 372T230 437Q292 437 342 405L351 399V535H320L289 536Q266 543 266 573ZM351 290Q347 302 337 316T302 346T244 361Q193 361 154 319T115 215Q115 152 152 111T235 70Q314 70 351 170V290Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(5253,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M4 573Q4 596 15 603T52 611H90H124Q146 611 155 608T171 591Q173 586 173 491V396L182 402Q217 424 256 431Q280 437 309 437Q376 437 434 379T492 217Q492 162 473 118T422 47T358 8T293 -6Q229 -6 174 38Q171 13 163 7T135 1H131H122Q99 1 90 23L89 279V535H58L27 536Q4 543 4 573ZM409 215Q409 269 377 315T283 361Q255 361 224 344T177 297L173 290V167Q189 124 213 97T278 70Q330 70 369 111T409 215Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(6146,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(6514,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(7407,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M52 216Q52 318 118 379T261 440Q343 440 407 378T472 216Q472 121 410 58T262 -6Q176 -6 114 58T52 216ZM388 225Q388 281 351 322T261 364Q213 364 175 325T136 225Q136 158 174 114T262 70T350 114T388 225Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(7774,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(8142,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M57 306Q57 333 86 341H438Q468 332 468 306T438 271H86Q57 280 57 306Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(8510,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M89 431Q94 431 105 431T122 432Q173 432 173 399Q173 394 175 394Q176 394 190 404T233 425T298 436Q343 436 371 423Q411 402 423 365T436 265Q436 257 436 239T435 211V198V76H498Q512 67 516 60T520 38Q520 9 498 1H308Q286 9 286 32V38V45Q286 65 303 73Q309 76 329 76H351V188Q351 204 351 230T352 266Q352 321 341 341T288 361Q253 361 222 341T176 274L174 264L173 170V76H236Q250 67 254 60T258 38Q258 9 236 1H27Q4 8 4 38Q4 53 8 60T27 76H89V355H58L27 356Q4 363 4 393Q4 408 8 415T27 431H89Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(8878,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(9246,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M60 274Q60 337 107 386T233 436Q278 436 316 417L329 410L338 416Q384 442 427 442T489 423T509 381T494 345T460 332Q449 332 440 338Q432 341 427 348T419 360T415 365Q414 364 410 364L383 355Q406 320 406 274Q406 211 358 162T233 112Q189 112 155 128L146 133Q142 125 142 115Q142 99 150 85T175 71Q182 72 187 70Q188 70 195 70T218 70T254 69Q259 69 275 69T297 69T318 68T340 66T361 62T384 57T405 49T428 38Q495 -1 495 -76Q495 -143 427 -186T262 -229Q161 -229 94 -185T29 -73Q30 -60 33 -48T39 -26T47 -8T57 8T67 20T77 30T86 38L91 43Q91 44 86 53T75 80T70 117Q70 142 89 183L83 194Q60 232 60 274ZM321 274Q321 312 296 337T230 362Q197 362 171 338T145 274Q145 235 170 211T233 187Q273 187 297 212T321 274ZM422 -78Q422 -54 408 -38T366 -15T315 -6T255 -4H200Q198 -4 193 -4T183 -3Q148 -3 125 -26T102 -78Q102 -110 151 -132T261 -154Q321 -154 371 -132T422 -78Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(9614,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M126 306Q105 306 90 321T74 359Q74 439 211 439Q268 439 276 438Q343 426 383 390T430 306Q431 301 431 190V81Q446 79 465 78T492 76T509 72T521 60T524 38Q524 11 506 3Q502 1 466 1Q426 1 406 5T379 14T355 36L345 30Q284 -6 205 -6Q135 -6 92 39T48 141Q48 182 79 212T158 256T252 278T342 285H347V290Q347 315 325 335T267 362Q258 363 224 363Q189 363 185 362H179L178 358Q178 353 178 352T176 345T174 337T170 330T165 322T158 316T150 311T139 308T126 306ZM132 140Q132 115 157 93T224 70Q269 70 302 87T344 133Q346 139 347 175V211H339Q256 209 194 190T132 140Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(9982,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M25 395Q26 405 26 408T29 416T35 423T48 431H145V481L146 532Q154 547 161 550T184 554H189Q218 554 227 534Q229 529 229 480V431H405Q406 430 411 427T418 422T422 416T426 407T427 393Q427 387 427 382T424 374T421 368T417 363T413 360T408 358L405 356L317 355H229V249Q229 237 229 214T228 179Q228 126 241 98T295 70Q354 70 365 149Q366 167 375 174Q383 182 407 182H415Q438 182 446 166Q448 161 448 148Q448 84 398 39T282 -6Q226 -6 189 29T146 128Q145 134 145 247V355H96H72Q45 355 35 362T25 395Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(10349,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M202 538T202 559T218 596T260 612Q283 612 300 597T317 560Q317 538 300 523T260 507Q235 507 219 522ZM411 76Q441 76 451 69T462 38Q462 29 462 26T460 18T453 9T440 1H94Q72 8 72 33V38Q72 46 72 49T74 58T81 68T94 76H233V355H167L102 356Q80 363 80 393Q80 418 91 425T138 432Q145 432 165 432T200 431H295Q297 429 303 425T310 420T314 415T317 404T317 389T318 363Q318 354 318 314T317 241V76H378H411Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(10717,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M24 392Q24 417 36 424T79 432Q85 432 103 432T132 431H215Q229 422 233 415T237 393Q237 355 198 355H193H172L262 77L352 355H331H323Q288 355 288 393Q288 409 291 415T310 431H478Q491 423 495 416T500 393Q500 364 478 356L452 355H426L374 190Q320 24 318 20Q307 -4 273 -4H262H251Q217 -4 206 20Q204 24 150 190L98 355H72L47 356Q24 363 24 392Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(11085,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M48 217Q48 295 100 361T248 439L258 440Q268 440 274 440Q329 438 369 416T428 359T456 292T464 228Q464 215 461 208T454 198T442 190L288 189H135L138 179Q153 132 199 102T303 71Q336 71 353 86T380 120T398 143Q404 146 422 146Q453 146 462 126Q464 120 464 116Q464 84 416 39T285 -6Q187 -6 118 59T48 217ZM377 264Q371 291 365 306T341 338T294 362Q288 363 264 363Q225 363 190 336T139 264H377Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(11453,0) scale(0.7)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is printed.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#Write your code here&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;class &lt;/span&gt;Calculator:
    &lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;power&lt;/span&gt;(&lt;span style=&quot;color: #94558d;&quot;&gt;self&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;n&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;p):
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;n &amp;lt; &lt;span style=&quot;color: #6897bb;&quot;&gt;0 &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;or &lt;/span&gt;p &amp;lt; &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;raise &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;ValueError&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;n and p should be non-negative&#39;&lt;/span&gt;)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;n**p


myCalculator=Calculator()
T=&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())
&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(T):
    n&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;p = &lt;span style=&quot;color: #8888c6;&quot;&gt;map&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().split())
    &lt;span style=&quot;color: #cc7832;&quot;&gt;try&lt;/span&gt;:
        ans=myCalculator.power(n&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;p)
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(ans)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;except &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;Exception &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;as &lt;/span&gt;e:
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(e)   &lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/780560846571870127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-17-more-exceptions-hacker-rank.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/780560846571870127'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/780560846571870127'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-17-more-exceptions-hacker-rank.html' title='Day 17: More Exceptions - Hacker Rank solutions (Python) code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-8605532606192301433</id><published>2020-05-06T18:29:00.001+05:30</published><updated>2020-05-06T18:29:12.131+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Day 16: Exceptions - String to Integer - Hackerrank solution (Python) code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Objective&lt;/strong&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;Today, we&#39;re getting started with&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Exceptions&lt;/span&gt;&amp;nbsp;by learning how to parse an integer from a string and print a custom error message. Check out the&amp;nbsp;&lt;a href=&quot;https://www.hackerrank.com/challenges/30-exceptions-string-to-integer/tutorial&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-decoration-line: none; transition: color 0.3s ease 0s; vertical-align: baseline; word-break: break-word;&quot;&gt;Tutorial&lt;/a&gt;&amp;nbsp;tab for learning materials and an instructional video!&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Task&lt;/strong&gt;&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;Read a string,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 645.5 936.9&quot; width=&quot;1.499ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M308 24Q367 24 416 76T466 197Q466 260 414 284Q308 311 278 321T236 341Q176 383 176 462Q176 523 208 573T273 648Q302 673 343 688T407 704H418H425Q521 704 564 640Q565 640 577 653T603 682T623 704Q624 704 627 704T632 705Q645 705 645 698T617 577T585 459T569 456Q549 456 549 465Q549 471 550 475Q550 478 551 494T553 520Q553 554 544 579T526 616T501 641Q465 662 419 662Q362 662 313 616T263 510Q263 480 278 458T319 427Q323 425 389 408T456 390Q490 379 522 342T554 242Q554 216 546 186Q541 164 528 137T492 78T426 18T332 -20Q320 -22 298 -22Q199 -22 144 33L134 44L106 13Q83 -14 78 -18T65 -22Q52 -22 52 -14Q52 -11 110 221Q112 227 130 227H143Q149 221 149 216Q149 214 148 207T144 186T142 153Q144 114 160 87T203 47T255 29T308 24Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, and print its integer value; if&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 645.5 936.9&quot; width=&quot;1.499ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M308 24Q367 24 416 76T466 197Q466 260 414 284Q308 311 278 321T236 341Q176 383 176 462Q176 523 208 573T273 648Q302 673 343 688T407 704H418H425Q521 704 564 640Q565 640 577 653T603 682T623 704Q624 704 627 704T632 705Q645 705 645 698T617 577T585 459T569 456Q549 456 549 465Q549 471 550 475Q550 478 551 494T553 520Q553 554 544 579T526 616T501 641Q465 662 419 662Q362 662 313 616T263 510Q263 480 278 458T319 427Q323 425 389 408T456 390Q490 379 522 342T554 242Q554 216 546 186Q541 164 528 137T492 78T426 18T332 -20Q320 -22 298 -22Q199 -22 144 33L134 44L106 13Q83 -14 78 -18T65 -22Q52 -22 52 -14Q52 -11 110 221Q112 227 130 227H143Q149 221 149 216Q149 214 148 207T144 186T142 153Q144 114 160 87T203 47T255 29T308 24Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;cannot be converted to an integer, print&amp;nbsp;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;Bad String&lt;/code&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Note:&lt;/strong&gt;&amp;nbsp;You&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;must&lt;/span&gt;&amp;nbsp;use the String-to-Integer and exception handling constructs built into your submission language. If you attempt to use loops/conditional statements, you will get a&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;score.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Input Format&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
A single string,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 645.5 936.9&quot; width=&quot;1.499ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M308 24Q367 24 416 76T466 197Q466 260 414 284Q308 311 278 321T236 341Q176 383 176 462Q176 523 208 573T273 648Q302 673 343 688T407 704H418H425Q521 704 564 640Q565 640 577 653T603 682T623 704Q624 704 627 704T632 705Q645 705 645 698T617 577T585 459T569 456Q549 456 549 465Q549 471 550 475Q550 478 551 494T553 520Q553 554 544 579T526 616T501 641Q465 662 419 662Q362 662 313 616T263 510Q263 480 278 458T319 427Q323 425 389 408T456 390Q490 379 522 342T554 242Q554 216 546 186Q541 164 528 137T492 78T426 18T332 -20Q320 -22 298 -22Q199 -22 144 33L134 44L106 13Q83 -14 78 -18T65 -22Q52 -22 52 -14Q52 -11 110 221Q112 227 130 227H143Q149 221 149 216Q149 214 148 207T144 186T142 153Q144 114 160 87T203 47T255 29T308 24Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Constraints&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 10px 0px 20px 20px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4871.6 1223.9&quot; width=&quot;11.315ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M308 24Q367 24 416 76T466 197Q466 260 414 284Q308 311 278 321T236 341Q176 383 176 462Q176 523 208 573T273 648Q302 673 343 688T407 704H418H425Q521 704 564 640Q565 640 577 653T603 682T623 704Q624 704 627 704T632 705Q645 705 645 698T617 577T585 459T569 456Q549 456 549 465Q549 471 550 475Q550 478 551 494T553 520Q553 554 544 579T526 616T501 641Q465 662 419 662Q362 662 313 616T263 510Q263 480 278 458T319 427Q323 425 389 408T456 390Q490 379 522 342T554 242Q554 216 546 186Q541 164 528 137T492 78T426 18T332 -20Q320 -22 298 -22Q199 -22 144 33L134 44L106 13Q83 -14 78 -18T65 -22Q52 -22 52 -14Q52 -11 110 221Q112 227 130 227H143Q149 221 149 216Q149 214 148 207T144 186T142 153Q144 114 160 87T203 47T255 29T308 24Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(924,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3314,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4371,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, where&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 1202.5 1223.9&quot; width=&quot;2.793ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M308 24Q367 24 416 76T466 197Q466 260 414 284Q308 311 278 321T236 341Q176 383 176 462Q176 523 208 573T273 648Q302 673 343 688T407 704H418H425Q521 704 564 640Q565 640 577 653T603 682T623 704Q624 704 627 704T632 705Q645 705 645 698T617 577T585 459T569 456Q549 456 549 465Q549 471 550 475Q550 478 551 494T553 520Q553 554 544 579T526 616T501 641Q465 662 419 662Q362 662 313 616T263 510Q263 480 278 458T319 427Q323 425 389 408T456 390Q490 379 522 342T554 242Q554 216 546 186Q541 164 528 137T492 78T426 18T332 -20Q320 -22 298 -22Q199 -22 144 33L134 44L106 13Q83 -14 78 -18T65 -22Q52 -22 52 -14Q52 -11 110 221Q112 227 130 227H143Q149 221 149 216Q149 214 148 207T144 186T142 153Q144 114 160 87T203 47T255 29T308 24Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(924,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is the length of string&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 645.5 936.9&quot; width=&quot;1.499ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M308 24Q367 24 416 76T466 197Q466 260 414 284Q308 311 278 321T236 341Q176 383 176 462Q176 523 208 573T273 648Q302 673 343 688T407 704H418H425Q521 704 564 640Q565 640 577 653T603 682T623 704Q624 704 627 704T632 705Q645 705 645 698T617 577T585 459T569 456Q549 456 549 465Q549 471 550 475Q550 478 551 494T553 520Q553 554 544 579T526 616T501 641Q465 662 419 662Q362 662 313 616T263 510Q263 480 278 458T319 427Q323 425 389 408T456 390Q490 379 522 342T554 242Q554 216 546 186Q541 164 528 137T492 78T426 18T332 -20Q320 -22 298 -22Q199 -22 144 33L134 44L106 13Q83 -14 78 -18T65 -22Q52 -22 52 -14Q52 -11 110 221Q112 227 130 227H143Q149 221 149 216Q149 214 148 207T144 186T142 153Q144 114 160 87T203 47T255 29T308 24Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px 0px 1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 645.5 936.9&quot; width=&quot;1.499ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M308 24Q367 24 416 76T466 197Q466 260 414 284Q308 311 278 321T236 341Q176 383 176 462Q176 523 208 573T273 648Q302 673 343 688T407 704H418H425Q521 704 564 640Q565 640 577 653T603 682T623 704Q624 704 627 704T632 705Q645 705 645 698T617 577T585 459T569 456Q549 456 549 465Q549 471 550 475Q550 478 551 494T553 520Q553 554 544 579T526 616T501 641Q465 662 419 662Q362 662 313 616T263 510Q263 480 278 458T319 427Q323 425 389 408T456 390Q490 379 522 342T554 242Q554 216 546 186Q541 164 528 137T492 78T426 18T332 -20Q320 -22 298 -22Q199 -22 144 33L134 44L106 13Q83 -14 78 -18T65 -22Q52 -22 52 -14Q52 -11 110 221Q112 227 130 227H143Q149 221 149 216Q149 214 148 207T144 186T142 153Q144 114 160 87T203 47T255 29T308 24Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is composed of&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;either&lt;/span&gt;&amp;nbsp;lowercase letters (&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 2220.9 721.6&quot; width=&quot;5.158ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(751,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1752,0)&quot;&gt;&lt;path d=&quot;M347 338Q337 338 294 349T231 360Q211 360 197 356T174 346T162 335T155 324L153 320Q150 317 138 317Q117 317 117 325Q117 330 120 339Q133 378 163 406T229 440Q241 442 246 442Q271 442 291 425T329 392T367 375Q389 375 411 408T434 441Q435 442 449 442H462Q468 436 468 434Q468 430 463 420T449 399T432 377T418 358L411 349Q368 298 275 214T160 106L148 94L163 93Q185 93 227 82T290 71Q328 71 360 90T402 140Q406 149 409 151T424 153Q443 153 443 143Q443 138 442 134Q425 72 376 31T278 -11Q252 -11 232 6T193 40T155 57Q111 57 76 -3Q70 -11 59 -11H54H41Q35 -5 35 -2Q35 13 93 84Q132 129 225 214T340 322Q352 338 347 338Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;)&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;or&lt;/span&gt;&amp;nbsp;decimal digits (&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2223.9 936.9&quot; width=&quot;5.165ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(722,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1723,0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Output Format&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
Print the parsed integer value of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 645.5 936.9&quot; width=&quot;1.499ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M308 24Q367 24 416 76T466 197Q466 260 414 284Q308 311 278 321T236 341Q176 383 176 462Q176 523 208 573T273 648Q302 673 343 688T407 704H418H425Q521 704 564 640Q565 640 577 653T603 682T623 704Q624 704 627 704T632 705Q645 705 645 698T617 577T585 459T569 456Q549 456 549 465Q549 471 550 475Q550 478 551 494T553 520Q553 554 544 579T526 616T501 641Q465 662 419 662Q362 662 313 616T263 510Q263 480 278 458T319 427Q323 425 389 408T456 390Q490 379 522 342T554 242Q554 216 546 186Q541 164 528 137T492 78T426 18T332 -20Q320 -22 298 -22Q199 -22 144 33L134 44L106 13Q83 -14 78 -18T65 -22Q52 -22 52 -14Q52 -11 110 221Q112 227 130 227H143Q149 221 149 216Q149 214 148 207T144 186T142 153Q144 114 160 87T203 47T255 29T308 24Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, or&amp;nbsp;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;Bad String&lt;/code&gt;&amp;nbsp;if&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 645.5 936.9&quot; width=&quot;1.499ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M308 24Q367 24 416 76T466 197Q466 260 414 284Q308 311 278 321T236 341Q176 383 176 462Q176 523 208 573T273 648Q302 673 343 688T407 704H418H425Q521 704 564 640Q565 640 577 653T603 682T623 704Q624 704 627 704T632 705Q645 705 645 698T617 577T585 459T569 456Q549 456 549 465Q549 471 550 475Q550 478 551 494T553 520Q553 554 544 579T526 616T501 641Q465 662 419 662Q362 662 313 616T263 510Q263 480 278 458T319 427Q323 425 389 408T456 390Q490 379 522 342T554 242Q554 216 546 186Q541 164 528 137T492 78T426 18T332 -20Q320 -22 298 -22Q199 -22 144 33L134 44L106 13Q83 -14 78 -18T65 -22Q52 -22 52 -14Q52 -11 110 221Q112 227 130 227H143Q149 221 149 216Q149 214 148 207T144 186T142 153Q144 114 160 87T203 47T255 29T308 24Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;cannot be converted to an integer.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Input 0&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;3
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Output 0&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;3
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Input 1&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;za
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Output 1&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-word;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;Bad String
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;strong style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Explanation&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Case&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;contains an integer, so it should not raise an exception when we attempt to convert it to an integer. Thus, we print the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;br style=&quot;overflow-wrap: break-word; word-break: break-word;&quot; /&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;Sample Case&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-break: break-word; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;does not contain any integers, so an attempt to convert it to an integer will raise an exception. Thus, our exception handler prints&amp;nbsp;&lt;code style=&quot;background: rgb(248, 248, 248); border-radius: 3px; border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 0px; vertical-align: baseline; word-break: break-word; word-spacing: -2px;&quot;&gt;Bad String&lt;/code&gt;.&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#!/bin/python3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys


S = &lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().strip()

&lt;span style=&quot;color: #cc7832;&quot;&gt;try&lt;/span&gt;:
    &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(S))
&lt;span style=&quot;color: #cc7832;&quot;&gt;except&lt;/span&gt;:
    &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;Bad String&#39;&lt;/span&gt;)&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/8605532606192301433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-16-exceptions-string-to-integer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/8605532606192301433'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/8605532606192301433'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-16-exceptions-string-to-integer.html' title='Day 16: Exceptions - String to Integer - Hackerrank solution (Python) code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-3398890549428086821</id><published>2020-05-06T01:38:00.000+05:30</published><updated>2020-05-06T01:38:06.219+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Picking Numbers - Hacker rank solution (Python) code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Given an array of integers, find and print the maximum number of integers you can select from the array such that the absolute difference between any two of the chosen integers is less than or equal to&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. For example, if your array is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 10486.4 1223.9&quot; width=&quot;24.356ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(807,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1863,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2142,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2642,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3087,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3588,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4033,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4533,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4979,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5479,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5924,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6425,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6870,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7370,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7816,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8316,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8761,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(9262,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(9707,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(10207,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, you can create two subarrays meeting the criterion:&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 3894.5 1223.9&quot; width=&quot;9.045ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(779,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1224,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1724,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2169,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2670,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3115,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3616,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4840.2 1223.9&quot; width=&quot;11.242ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(779,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1224,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1724,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2169,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2670,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3115,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3616,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4061,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4561,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. The maximum length subarray has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;elements.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Function Description&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Complete the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;pickingNumbers&lt;/span&gt;&amp;nbsp;function in the editor below. It should return an integer that represents the length of the longest array that can be created.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
pickingNumbers has the following parameter(s):&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;a&lt;/span&gt;: an array of integers&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains a single integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the size of the array&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 529.5 721.6&quot; width=&quot;1.23ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;br /&gt;The second line contains&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;space-separated integers&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 1432 1223.9&quot; width=&quot;3.326ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(529,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(808,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1153,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 5270.6 1008.6&quot; width=&quot;12.241ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2712,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3769,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 6102.1 1223.9&quot; width=&quot;14.173ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M694 -11T694 -19T688 -33T678 -40Q671 -40 524 29T234 166L90 235Q83 240 83 250Q83 261 91 266Q664 540 678 540Q681 540 687 534T694 519T687 505Q686 504 417 376L151 250L417 124Q686 -4 687 -5Q694 -11 694 -19Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2364,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2642,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2988,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3544,0)&quot;&gt;&lt;path d=&quot;M694 -11T694 -19T688 -33T678 -40Q671 -40 524 29T234 166L90 235Q83 240 83 250Q83 261 91 266Q664 540 678 540Q681 540 687 534T694 519T687 505Q686 504 417 376L151 250L417 124Q686 -4 687 -5Q694 -11 694 -19Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4600,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;The answer will be&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 1556.8 1008.6&quot; width=&quot;3.616ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M83 616Q83 624 89 630T99 636Q107 636 253 568T543 431T687 361Q694 356 694 346T687 331Q685 329 395 192L107 56H101Q83 58 83 76Q83 77 83 79Q82 86 98 95Q117 105 248 167Q326 204 378 228L626 346L360 472Q291 505 200 548Q112 589 98 597T83 616ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1056,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
A single integer denoting the maximum number of integers you can choose from the array such that the absolute difference between any two of the chosen integers is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 1556.8 1008.6&quot; width=&quot;3.616ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1056,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;6&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;4 6 5 3 3 1&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
We choose the following multiset of integers from the array:&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 3392.8 1223.9&quot; width=&quot;7.88ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M434 -231Q434 -244 428 -250H410Q281 -250 230 -184Q225 -177 222 -172T217 -161T213 -148T211 -133T210 -111T209 -84T209 -47T209 0Q209 21 209 53Q208 142 204 153Q203 154 203 155Q189 191 153 211T82 231Q71 231 68 234T65 250T68 266T82 269Q116 269 152 289T203 345Q208 356 208 377T209 529V579Q209 634 215 656T244 698Q270 724 324 740Q361 748 377 749Q379 749 390 749T408 750H428Q434 744 434 732Q434 719 431 716Q429 713 415 713Q362 710 332 689T296 647Q291 634 291 499V417Q291 370 288 353T271 314Q240 271 184 255L170 250L184 245Q202 239 220 230T262 196T290 137Q291 131 291 1Q291 -134 296 -147Q306 -174 339 -192T415 -213Q429 -213 431 -216Q434 -219 434 -231Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(500,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1446,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1946,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2391,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2892,0)&quot;&gt;&lt;path d=&quot;M65 731Q65 745 68 747T88 750Q171 750 216 725T279 670Q288 649 289 635T291 501Q292 362 293 357Q306 312 345 291T417 269Q428 269 431 266T434 250T431 234T417 231Q380 231 345 210T298 157Q293 143 292 121T291 -28V-79Q291 -134 285 -156T256 -198Q202 -250 89 -250Q71 -250 68 -247T65 -230Q65 -224 65 -223T66 -218T69 -214T77 -213Q91 -213 108 -210T146 -200T183 -177T207 -139Q208 -134 209 3L210 139Q223 196 280 230Q315 247 330 250Q305 257 280 270Q225 304 212 352L210 362L209 498Q208 635 207 640Q195 680 154 696T77 713Q68 713 67 716T65 731Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Each pair in the multiset has an absolute difference&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 1556.8 1008.6&quot; width=&quot;3.616ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1056,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;(i.e.,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4615.5 1223.9&quot; width=&quot;10.72ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2001,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2502,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3058,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4115,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4615.5 1223.9&quot; width=&quot;10.72ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2001,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2502,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3058,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4115,0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;), so we print the number of chosen integers,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, as our answer.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;6&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1 2 2 3 1 2&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;5&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
We choose the following multiset of integers from the array:&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 5284.2 1223.9&quot; width=&quot;12.273ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M434 -231Q434 -244 428 -250H410Q281 -250 230 -184Q225 -177 222 -172T217 -161T213 -148T211 -133T210 -111T209 -84T209 -47T209 0Q209 21 209 53Q208 142 204 153Q203 154 203 155Q189 191 153 211T82 231Q71 231 68 234T65 250T68 266T82 269Q116 269 152 289T203 345Q208 356 208 377T209 529V579Q209 634 215 656T244 698Q270 724 324 740Q361 748 377 749Q379 749 390 749T408 750H428Q434 744 434 732Q434 719 431 716Q429 713 415 713Q362 710 332 689T296 647Q291 634 291 499V417Q291 370 288 353T271 314Q240 271 184 255L170 250L184 245Q202 239 220 230T262 196T290 137Q291 131 291 1Q291 -134 296 -147Q306 -174 339 -192T415 -213Q429 -213 431 -216Q434 -219 434 -231Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(500,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1446,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1946,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2391,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2892,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3337,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3838,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4283,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4783,0)&quot;&gt;&lt;path d=&quot;M65 731Q65 745 68 747T88 750Q171 750 216 725T279 670Q288 649 289 635T291 501Q292 362 293 357Q306 312 345 291T417 269Q428 269 431 266T434 250T431 234T417 231Q380 231 345 210T298 157Q293 143 292 121T291 -28V-79Q291 -134 285 -156T256 -198Q202 -250 89 -250Q71 -250 68 -247T65 -230Q65 -224 65 -223T66 -218T69 -214T77 -213Q91 -213 108 -210T146 -200T183 -177T207 -139Q208 -134 209 3L210 139Q223 196 280 230Q315 247 330 250Q305 257 280 270Q225 304 212 352L210 362L209 498Q208 635 207 640Q195 680 154 696T77 713Q68 713 67 716T65 731Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Each pair in the multiset has an absolute difference&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 1556.8 1008.6&quot; width=&quot;3.616ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1056,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;(i.e.,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4615.5 1223.9&quot; width=&quot;10.72ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2001,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2502,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3058,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4115,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4615.5 1223.9&quot; width=&quot;10.72ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2001,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2502,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3058,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4115,0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4615.5 1223.9&quot; width=&quot;10.72ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2001,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2502,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3058,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4115,0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;), so we print the number of chosen integers,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, as our answer.&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#!/bin/python3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;math
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;os
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;random
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;re
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys

&lt;span style=&quot;color: grey;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Complete the &#39;pickingNumbers&#39; function below.&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;# The function is expected to return an INTEGER.&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;# The function accepts INTEGER_ARRAY a as parameter.&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;pickingNumbers&lt;/span&gt;(a):
    count_list = [&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;]
    a.sort(&lt;span style=&quot;color: #aa4926;&quot;&gt;reverse&lt;/span&gt;=&lt;span style=&quot;color: #cc7832;&quot;&gt;True&lt;/span&gt;)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;len&lt;/span&gt;(a)):
        count = &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;j &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(i+&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;len&lt;/span&gt;(a)):
            &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;a[i] - a[j] &amp;lt;= &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;:
                count += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;        &lt;/span&gt;count_list.append(count+&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;max&lt;/span&gt;(count_list)


&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    fptr = &lt;span style=&quot;color: #8888c6;&quot;&gt;open&lt;/span&gt;(os.environ[&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;OUTPUT_PATH&#39;&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;w&#39;&lt;/span&gt;)

    n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().strip())

    a = &lt;span style=&quot;color: #8888c6;&quot;&gt;list&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;map&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().rstrip().split()))

    result = pickingNumbers(a)

    fptr.write(&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(result) + &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;)

    fptr.close()&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/3398890549428086821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/picking-numbers-hacker-rank-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/3398890549428086821'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/3398890549428086821'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/picking-numbers-hacker-rank-solution.html' title='Picking Numbers - Hacker rank solution (Python) code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-743354078544482282</id><published>2020-05-06T01:08:00.002+05:30</published><updated>2020-05-06T01:08:22.997+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Forming a Magic Square - Hacker rank solution (Python) code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Problem&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
We define a&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Magic_square&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;&quot;&gt;magic square&lt;/a&gt;&amp;nbsp;to be an&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 2423.9 721.6&quot; width=&quot;5.63ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(822,0)&quot;&gt;&lt;path d=&quot;M630 29Q630 9 609 9Q604 9 587 25T493 118L389 222L284 117Q178 13 175 11Q171 9 168 9Q160 9 154 15T147 29Q147 36 161 51T255 146L359 250L255 354Q174 435 161 449T147 471Q147 480 153 485T168 490Q173 490 175 489Q178 487 284 383L389 278L493 382Q570 459 587 475T609 491Q630 491 630 471Q630 464 620 453T522 355L418 250L522 145Q606 61 618 48T630 29Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1823,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;matrix of distinct positive integers from&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;to&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -934.9 1054.4 1080.4&quot; width=&quot;2.449ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(600,362)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;where the sum of any row, column, or diagonal of length&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is always equal to the same number: the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;magic constant&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
You will be given a&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2223.9 936.9&quot; width=&quot;5.165ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(722,0)&quot;&gt;&lt;path d=&quot;M630 29Q630 9 609 9Q604 9 587 25T493 118L389 222L284 117Q178 13 175 11Q171 9 168 9Q160 9 154 15T147 29Q147 36 161 51T255 146L359 250L255 354Q174 435 161 449T147 471Q147 480 153 485T168 490Q173 490 175 489Q178 487 284 383L389 278L493 382Q570 459 587 475T609 491Q630 491 630 471Q630 464 620 453T522 355L418 250L522 145Q606 61 618 48T630 29Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1723,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;matrix&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;of integers in the inclusive range&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 2003.2 1223.9&quot; width=&quot;4.653ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(779,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1224,0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1724,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. We can convert any digit&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 529.5 721.6&quot; width=&quot;1.23ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;to any other digit&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 429.5 936.9&quot; width=&quot;0.998ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;in the range&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-10-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 2003.2 1223.9&quot; width=&quot;4.653ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(779,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1224,0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1724,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;at cost of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-11-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 2738.9 1223.9&quot; width=&quot;6.361ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1030,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2030,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2460,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Given&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-12-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, convert it into a magic square at&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;minimal&lt;/span&gt;&amp;nbsp;cost. Print this cost on a new line.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;The resulting magic square must contain distinct integers in the inclusive range&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-13-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 2003.2 1223.9&quot; width=&quot;4.653ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(779,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1224,0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1724,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
For example, we start with the following matrix&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-14-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;:&lt;/div&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;5&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;4&lt;/span&gt;
&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;5&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;8&lt;/span&gt;
&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;6&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;4&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
We can convert it to the following magic square:&lt;/div&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;8&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;4&lt;/span&gt;
&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;5&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;9&lt;/span&gt;
&lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;6&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;7&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
This took three replacements at a cost of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-15-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 12623.3 1223.9&quot; width=&quot;29.319ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2001,0)&quot;&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2502,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3003,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4003,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4282,0)&quot;&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5005,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6005,0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6506,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7007,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8007,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8286,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(9009,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(10009,0)&quot;&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(10510,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(11066,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(12122,0)&quot;&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Function Description&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Complete the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;formingMagicSquare&lt;/span&gt;&amp;nbsp;function in the editor below. It should return an integer that represents the minimal total cost of converting the input square to a magic square.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
formingMagicSquare has the following parameter(s):&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;s&lt;/span&gt;: a&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-16-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2223.9 936.9&quot; width=&quot;5.165ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(722,0)&quot;&gt;&lt;path d=&quot;M630 29Q630 9 609 9Q604 9 587 25T493 118L389 222L284 117Q178 13 175 11Q171 9 168 9Q160 9 154 15T147 29Q147 36 161 51T255 146L359 250L255 354Q174 435 161 449T147 471Q147 480 153 485T168 490Q173 490 175 489Q178 487 284 383L389 278L493 382Q570 459 587 475T609 491Q630 491 630 471Q630 464 620 453T522 355L418 250L522 145Q606 61 618 48T630 29Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1723,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;array of integers&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Each of the lines contains three space-separated integers of row&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 1372 1223.9&quot; width=&quot;3.187ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(469,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(748,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1093,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 5567.7 1223.9&quot; width=&quot;12.932ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(469,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(748,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1093,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1372,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1650,0)&quot;&gt;&lt;path d=&quot;M297 596Q297 627 318 644T361 661Q378 661 389 651T403 623Q403 595 384 576T340 557Q322 557 310 567T297 596ZM288 376Q288 405 262 405Q240 405 220 393T185 362T161 325T144 293L137 279Q135 278 121 278H107Q101 284 101 286T105 299Q126 348 164 391T252 441Q253 441 260 441T272 442Q296 441 316 432Q341 418 354 401T367 348V332L318 133Q267 -67 264 -75Q246 -125 194 -164T75 -204Q25 -204 7 -183T-12 -137Q-12 -110 7 -91T53 -71Q70 -71 82 -81T95 -112Q95 -148 63 -167Q69 -168 77 -168Q111 -168 139 -140T182 -74L193 -32Q204 11 219 72T251 197T278 308T289 365Q289 372 288 376Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2063,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2619,0)&quot;&gt;&lt;path d=&quot;M84 250Q84 372 166 450T360 539Q361 539 377 539T419 540T469 540H568Q583 532 583 520Q583 511 570 501L466 500Q355 499 329 494Q280 482 242 458T183 409T147 354T129 306T124 272V270H568Q583 262 583 250T568 230H124V228Q124 207 134 177T167 112T231 48T328 7Q355 1 466 0H570Q583 -10 583 -20Q583 -32 568 -40H471Q464 -40 446 -40T417 -41Q262 -41 172 45Q84 127 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3564,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3843,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4343,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4788,0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5289,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Print an integer denoting the minimum cost of turning matrix&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;into a magic square.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;4 9 2&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3 5 7&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;8 1 5&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
If we change the bottom right value,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 2584.5 1223.9&quot; width=&quot;6.003ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(469,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(748,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1248,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1527,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1805,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2306,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, from&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;to&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;at a cost of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4615.5 1223.9&quot; width=&quot;10.72ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2001,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2502,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3058,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4115,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;becomes a magic square at the minimum possible cost.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;4 8 2&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;4 5 7&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;6 1 6&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;4&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Using 0-based indexing, if we make&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 2584.5 1223.9&quot; width=&quot;6.003ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(469,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(748,0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1248,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1527,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1805,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2306,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;-&amp;gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;at a cost of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4615.5 1223.9&quot; width=&quot;10.72ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2001,0)&quot;&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2502,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3058,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4115,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 2584.5 1223.9&quot; width=&quot;6.003ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(469,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(748,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1248,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1527,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1805,0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2306,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;-&amp;gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;at a cost of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4615.5 1223.9&quot; width=&quot;10.72ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2001,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2502,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3058,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4115,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 2584.5 1223.9&quot; width=&quot;6.003ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(469,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(748,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1248,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1527,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1805,0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2306,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;-&amp;gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;at a cost of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4615.5 1223.9&quot; width=&quot;10.72ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2001,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2502,0)&quot;&gt;&lt;path d=&quot;M139 -249H137Q125 -249 119 -235V251L120 737Q130 750 139 750Q152 750 159 735V-235Q151 -249 141 -249H139Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3058,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4115,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;,&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
then the total cost will be&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-10-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 5781.9 1008.6&quot; width=&quot;13.429ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(722,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1723,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2446,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3446,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4225,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5281,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#!/bin/python3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;math
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;os
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;random
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;re
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys

&lt;span style=&quot;color: grey;&quot;&gt;# Complete the formingMagicSquare function below.&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;formingMagicSquare&lt;/span&gt;(s):
    one_d_array = []

    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;item &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;s:
        one_d_array += item

    possible_combinations = [[&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;8&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;                             &lt;/span&gt;[&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;8&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;                             &lt;/span&gt;[&lt;span style=&quot;color: #6897bb;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;6&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;                             &lt;/span&gt;[&lt;span style=&quot;color: #6897bb;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;6&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;                             &lt;/span&gt;[&lt;span style=&quot;color: #6897bb;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;4&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;                             &lt;/span&gt;[&lt;span style=&quot;color: #6897bb;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;4&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;                             &lt;/span&gt;[&lt;span style=&quot;color: #6897bb;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;                             &lt;/span&gt;[&lt;span style=&quot;color: #6897bb;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;]]
    cost = []

    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;item &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;possible_combinations:
        temp_sum = &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;i &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #6897bb;&quot;&gt;9&lt;/span&gt;):
            temp_sum += &lt;span style=&quot;color: #8888c6;&quot;&gt;abs&lt;/span&gt;(item[i]-one_d_array[i])
        cost.append(temp_sum)

    &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;min&lt;/span&gt;(cost)



&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    fptr = &lt;span style=&quot;color: #8888c6;&quot;&gt;open&lt;/span&gt;(os.environ[&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;OUTPUT_PATH&#39;&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;w&#39;&lt;/span&gt;)

    s = []

    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;_ &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(&lt;span style=&quot;color: #6897bb;&quot;&gt;3&lt;/span&gt;):
        s.append(&lt;span style=&quot;color: #8888c6;&quot;&gt;list&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;map&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().rstrip().split())))

    result = formingMagicSquare(s)

    fptr.write(&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(result) + &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;)

    fptr.close()&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/743354078544482282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/forming-magic-square-hacker-rank.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/743354078544482282'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/743354078544482282'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/forming-magic-square-hacker-rank.html' title='Forming a Magic Square - Hacker rank solution (Python) code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-3871350832325494768</id><published>2020-05-05T18:07:00.000+05:30</published><updated>2020-05-05T18:07:03.586+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Cats and a Mouse - Hackerrank Solution (Python) code 2020</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Two cats and a mouse are at various positions on a line. You will be given their starting positions. Your task is to determine which cat will reach the mouse first, assuming the mouse doesn&#39;t move and the cats travel at equal speed. If the cats arrive at the same time, the mouse will be allowed to move and it will escape while they fight.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
You are given&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 460.5 865.1&quot; width=&quot;1.07ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q340 441 372 389Q373 390 377 395T388 406T404 418Q438 442 450 442Q454 442 457 439T460 434Q460 425 391 149Q320 -135 320 -139Q320 -147 365 -148H390Q396 -156 396 -157T393 -175Q389 -188 383 -194H370Q339 -192 262 -192Q234 -192 211 -192T174 -192T157 -193Q143 -193 143 -185Q143 -182 145 -170Q149 -154 152 -151T172 -148Q220 -148 230 -141Q238 -136 258 -53T279 32Q279 33 272 29Q224 -10 172 -10Q117 -10 75 30T33 157ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;queries in the form of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 572.5 721.6&quot; width=&quot;1.33ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M52 289Q59 331 106 386T222 442Q257 442 286 424T329 379Q371 442 430 442Q467 442 494 420T522 361Q522 332 508 314T481 292T458 288Q439 288 427 299T415 328Q415 374 465 391Q454 404 425 404Q412 404 406 402Q368 386 350 336Q290 115 290 78Q290 50 306 38T341 26Q378 26 414 59T463 140Q466 150 469 151T485 153H489Q504 153 504 145Q504 144 502 134Q486 77 440 33T333 -11Q263 -11 227 52Q186 -10 133 -10H127Q78 -10 57 16T35 71Q35 103 54 123T99 143Q142 143 142 101Q142 81 130 66T107 46T94 41L91 40Q91 39 97 36T113 29T132 26Q168 26 194 71Q203 87 217 139T245 247T261 313Q266 340 266 352Q266 380 251 392T217 404Q177 404 142 372T93 290Q91 281 88 280T72 278H58Q52 284 52 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 497.5 865.1&quot; width=&quot;1.155ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 468.5 721.6&quot; width=&quot;1.088ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M347 338Q337 338 294 349T231 360Q211 360 197 356T174 346T162 335T155 324L153 320Q150 317 138 317Q117 317 117 325Q117 330 120 339Q133 378 163 406T229 440Q241 442 246 442Q271 442 291 425T329 392T367 375Q389 375 411 408T434 441Q435 442 449 442H462Q468 436 468 434Q468 430 463 420T449 399T432 377T418 358L411 349Q368 298 275 214T160 106L148 94L163 93Q185 93 227 82T290 71Q328 71 360 90T402 140Q406 149 409 151T424 153Q443 153 443 143Q443 138 442 134Q425 72 376 31T278 -11Q252 -11 232 6T193 40T155 57Q111 57 76 -3Q70 -11 59 -11H54H41Q35 -5 35 -2Q35 13 93 84Q132 129 225 214T340 322Q352 338 347 338Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;representing the respective positions for cats&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 750.5 936.9&quot; width=&quot;1.743ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 759.5 936.9&quot; width=&quot;1.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M231 637Q204 637 199 638T194 649Q194 676 205 682Q206 683 335 683Q594 683 608 681Q671 671 713 636T756 544Q756 480 698 429T565 360L555 357Q619 348 660 311T702 219Q702 146 630 78T453 1Q446 0 242 0Q42 0 39 2Q35 5 35 10Q35 17 37 24Q42 43 47 45Q51 46 62 46H68Q95 46 128 49Q142 52 147 61Q150 65 219 339T288 628Q288 635 231 637ZM649 544Q649 574 634 600T585 634Q578 636 493 637Q473 637 451 637T416 636H403Q388 635 384 626Q382 622 352 506Q352 503 351 500L320 374H401Q482 374 494 376Q554 386 601 434T649 544ZM595 229Q595 273 572 302T512 336Q506 337 429 337Q311 337 310 336Q310 334 293 263T258 122L240 52Q240 48 252 48T333 46Q422 46 429 47Q491 54 543 105T595 229Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, and for mouse&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 760.5 936.9&quot; width=&quot;1.766ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M50 252Q50 367 117 473T286 641T490 704Q580 704 633 653Q642 643 648 636T656 626L657 623Q660 623 684 649Q691 655 699 663T715 679T725 690L740 705H746Q760 705 760 698Q760 694 728 561Q692 422 692 421Q690 416 687 415T669 413H653Q647 419 647 422Q647 423 648 429T650 449T651 481Q651 552 619 605T510 659Q484 659 454 652T382 628T299 572T226 479Q194 422 175 346T156 222Q156 108 232 58Q280 24 350 24Q441 24 512 92T606 240Q610 253 612 255T628 257Q648 257 648 248Q648 243 647 239Q618 132 523 55T319 -22Q206 -22 128 53T50 252Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Complete the function&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 6244.5 936.9&quot; width=&quot;14.503ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(433,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(963,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1324,0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2075,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2675,0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3199,0)&quot;&gt;&lt;path d=&quot;M289 629Q289 635 232 637Q208 637 201 638T194 648Q194 649 196 659Q197 662 198 666T199 671T201 676T203 679T207 681T212 683T220 683T232 684Q238 684 262 684T307 683Q386 683 398 683T414 678Q415 674 451 396L487 117L510 154Q534 190 574 254T662 394Q837 673 839 675Q840 676 842 678T846 681L852 683H948Q965 683 988 683T1017 684Q1051 684 1051 673Q1051 668 1048 656T1045 643Q1041 637 1008 637Q968 636 957 634T939 623Q936 618 867 340T797 59Q797 55 798 54T805 50T822 48T855 46H886Q892 37 892 35Q892 19 885 5Q880 0 869 0Q864 0 828 1T736 2Q675 2 644 2T609 1Q592 1 592 11Q592 13 594 25Q598 41 602 43T625 46Q652 46 685 49Q699 52 704 61Q706 65 742 207T813 490T848 631L654 322Q458 10 453 5Q451 4 449 3Q444 0 433 0Q418 0 415 7Q413 11 374 317L335 624L267 354Q200 88 200 79Q206 46 272 46H282Q288 41 289 37T286 19Q282 3 278 1Q274 0 267 0Q265 0 255 0T221 1T157 2Q127 2 95 1T58 0Q43 0 39 2T35 11Q35 13 38 25T43 40Q45 46 65 46Q135 46 154 86Q158 92 223 354T289 629Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4250,0)&quot;&gt;&lt;path d=&quot;M201 -11Q126 -11 80 38T34 156Q34 221 64 279T146 380Q222 441 301 441Q333 441 341 440Q354 437 367 433T402 417T438 387T464 338T476 268Q476 161 390 75T201 -11ZM121 120Q121 70 147 48T206 26Q250 26 289 58T351 142Q360 163 374 216T388 308Q388 352 370 375Q346 405 306 405Q243 405 195 347Q158 303 140 230T121 120Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4736,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5308,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5778,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;to return the appropriate answer to each query, which will be printed on a new line.&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;If cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 750.5 936.9&quot; width=&quot;1.743ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;catches the mouse first, print&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Cat A&lt;/code&gt;.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;If cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-10-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 759.5 936.9&quot; width=&quot;1.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M231 637Q204 637 199 638T194 649Q194 676 205 682Q206 683 335 683Q594 683 608 681Q671 671 713 636T756 544Q756 480 698 429T565 360L555 357Q619 348 660 311T702 219Q702 146 630 78T453 1Q446 0 242 0Q42 0 39 2Q35 5 35 10Q35 17 37 24Q42 43 47 45Q51 46 62 46H68Q95 46 128 49Q142 52 147 61Q150 65 219 339T288 628Q288 635 231 637ZM649 544Q649 574 634 600T585 634Q578 636 493 637Q473 637 451 637T416 636H403Q388 635 384 626Q382 622 352 506Q352 503 351 500L320 374H401Q482 374 494 376Q554 386 601 434T649 544ZM595 229Q595 273 572 302T512 336Q506 337 429 337Q311 337 310 336Q310 334 293 263T258 122L240 52Q240 48 252 48T333 46Q422 46 429 47Q491 54 543 105T595 229Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;catches the mouse first, print&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Cat B&lt;/code&gt;.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;If both cats reach the mouse at the same time, print&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Mouse C&lt;/code&gt;&amp;nbsp;as the two cats fight and mouse escapes.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
For example, cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-11-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 750.5 936.9&quot; width=&quot;1.743ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is at position&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-12-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2407.1 936.9&quot; width=&quot;5.591ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M52 289Q59 331 106 386T222 442Q257 442 286 424T329 379Q371 442 430 442Q467 442 494 420T522 361Q522 332 508 314T481 292T458 288Q439 288 427 299T415 328Q415 374 465 391Q454 404 425 404Q412 404 406 402Q368 386 350 336Q290 115 290 78Q290 50 306 38T341 26Q378 26 414 59T463 140Q466 150 469 151T485 153H489Q504 153 504 145Q504 144 502 134Q486 77 440 33T333 -11Q263 -11 227 52Q186 -10 133 -10H127Q78 -10 57 16T35 71Q35 103 54 123T99 143Q142 143 142 101Q142 81 130 66T107 46T94 41L91 40Q91 39 97 36T113 29T132 26Q168 26 194 71Q203 87 217 139T245 247T261 313Q266 340 266 352Q266 380 251 392T217 404Q177 404 142 372T93 290Q91 281 88 280T72 278H58Q52 284 52 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(850,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1906,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-13-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 759.5 936.9&quot; width=&quot;1.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M231 637Q204 637 199 638T194 649Q194 676 205 682Q206 683 335 683Q594 683 608 681Q671 671 713 636T756 544Q756 480 698 429T565 360L555 357Q619 348 660 311T702 219Q702 146 630 78T453 1Q446 0 242 0Q42 0 39 2Q35 5 35 10Q35 17 37 24Q42 43 47 45Q51 46 62 46H68Q95 46 128 49Q142 52 147 61Q150 65 219 339T288 628Q288 635 231 637ZM649 544Q649 574 634 600T585 634Q578 636 493 637Q473 637 451 637T416 636H403Q388 635 384 626Q382 622 352 506Q352 503 351 500L320 374H401Q482 374 494 376Q554 386 601 434T649 544ZM595 229Q595 273 572 302T512 336Q506 337 429 337Q311 337 310 336Q310 334 293 263T258 122L240 52Q240 48 252 48T333 46Q422 46 429 47Q491 54 543 105T595 229Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is at&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-14-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 2332.1 1080.4&quot; width=&quot;5.416ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(775,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1831,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. If mouse&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-15-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 760.5 936.9&quot; width=&quot;1.766ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M50 252Q50 367 117 473T286 641T490 704Q580 704 633 653Q642 643 648 636T656 626L657 623Q660 623 684 649Q691 655 699 663T715 679T725 690L740 705H746Q760 705 760 698Q760 694 728 561Q692 422 692 421Q690 416 687 415T669 413H653Q647 419 647 422Q647 423 648 429T650 449T651 481Q651 552 619 605T510 659Q484 659 454 652T382 628T299 572T226 479Q194 422 175 346T156 222Q156 108 232 58Q280 24 350 24Q441 24 512 92T606 240Q610 253 612 255T628 257Q648 257 648 248Q648 243 647 239Q618 132 523 55T319 -22Q206 -22 128 53T50 252Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is at position&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-16-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2303.1 936.9&quot; width=&quot;5.349ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M347 338Q337 338 294 349T231 360Q211 360 197 356T174 346T162 335T155 324L153 320Q150 317 138 317Q117 317 117 325Q117 330 120 339Q133 378 163 406T229 440Q241 442 246 442Q271 442 291 425T329 392T367 375Q389 375 411 408T434 441Q435 442 449 442H462Q468 436 468 434Q468 430 463 420T449 399T432 377T418 358L411 349Q368 298 275 214T160 106L148 94L163 93Q185 93 227 82T290 71Q328 71 360 90T402 140Q406 149 409 151T424 153Q443 153 443 143Q443 138 442 134Q425 72 376 31T278 -11Q252 -11 232 6T193 40T155 57Q111 57 76 -3Q70 -11 59 -11H54H41Q35 -5 35 -2Q35 13 93 84Q132 129 225 214T340 322Q352 338 347 338Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(746,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1802,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, it is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-17-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;units from cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-18-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 750.5 936.9&quot; width=&quot;1.743ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-19-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;unit from cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-20-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 759.5 936.9&quot; width=&quot;1.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M231 637Q204 637 199 638T194 649Q194 676 205 682Q206 683 335 683Q594 683 608 681Q671 671 713 636T756 544Q756 480 698 429T565 360L555 357Q619 348 660 311T702 219Q702 146 630 78T453 1Q446 0 242 0Q42 0 39 2Q35 5 35 10Q35 17 37 24Q42 43 47 45Q51 46 62 46H68Q95 46 128 49Q142 52 147 61Q150 65 219 339T288 628Q288 635 231 637ZM649 544Q649 574 634 600T585 634Q578 636 493 637Q473 637 451 637T416 636H403Q388 635 384 626Q382 622 352 506Q352 503 351 500L320 374H401Q482 374 494 376Q554 386 601 434T649 544ZM595 229Q595 273 572 302T512 336Q506 337 429 337Q311 337 310 336Q310 334 293 263T258 122L240 52Q240 48 252 48T333 46Q422 46 429 47Q491 54 543 105T595 229Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-21-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 759.5 936.9&quot; width=&quot;1.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M231 637Q204 637 199 638T194 649Q194 676 205 682Q206 683 335 683Q594 683 608 681Q671 671 713 636T756 544Q756 480 698 429T565 360L555 357Q619 348 660 311T702 219Q702 146 630 78T453 1Q446 0 242 0Q42 0 39 2Q35 5 35 10Q35 17 37 24Q42 43 47 45Q51 46 62 46H68Q95 46 128 49Q142 52 147 61Q150 65 219 339T288 628Q288 635 231 637ZM649 544Q649 574 634 600T585 634Q578 636 493 637Q473 637 451 637T416 636H403Q388 635 384 626Q382 622 352 506Q352 503 351 500L320 374H401Q482 374 494 376Q554 386 601 434T649 544ZM595 229Q595 273 572 302T512 336Q506 337 429 337Q311 337 310 336Q310 334 293 263T258 122L240 52Q240 48 252 48T333 46Q422 46 429 47Q491 54 543 105T595 229Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;will catch the mouse.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Function Description&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Complete the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;catAndMouse&lt;/span&gt;&amp;nbsp;function in the editor below. It should return one of the three strings as described.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
catAndMouse has the following parameter(s):&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;x&lt;/span&gt;: an integer, Cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-22-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 750.5 936.9&quot; width=&quot;1.743ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&#39;s position&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;y&lt;/span&gt;: an integer, Cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-23-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 759.5 936.9&quot; width=&quot;1.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M231 637Q204 637 199 638T194 649Q194 676 205 682Q206 683 335 683Q594 683 608 681Q671 671 713 636T756 544Q756 480 698 429T565 360L555 357Q619 348 660 311T702 219Q702 146 630 78T453 1Q446 0 242 0Q42 0 39 2Q35 5 35 10Q35 17 37 24Q42 43 47 45Q51 46 62 46H68Q95 46 128 49Q142 52 147 61Q150 65 219 339T288 628Q288 635 231 637ZM649 544Q649 574 634 600T585 634Q578 636 493 637Q473 637 451 637T416 636H403Q388 635 384 626Q382 622 352 506Q352 503 351 500L320 374H401Q482 374 494 376Q554 386 601 434T649 544ZM595 229Q595 273 572 302T512 336Q506 337 429 337Q311 337 310 336Q310 334 293 263T258 122L240 52Q240 48 252 48T333 46Q422 46 429 47Q491 54 543 105T595 229Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&#39;s position&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;z&lt;/span&gt;: an integer, Mouse&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-24-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 760.5 936.9&quot; width=&quot;1.766ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M50 252Q50 367 117 473T286 641T490 704Q580 704 633 653Q642 643 648 636T656 626L657 623Q660 623 684 649Q691 655 699 663T715 679T725 690L740 705H746Q760 705 760 698Q760 694 728 561Q692 422 692 421Q690 416 687 415T669 413H653Q647 419 647 422Q647 423 648 429T650 449T651 481Q651 552 619 605T510 659Q484 659 454 652T382 628T299 572T226 479Q194 422 175 346T156 222Q156 108 232 58Q280 24 350 24Q441 24 512 92T606 240Q610 253 612 255T628 257Q648 257 648 248Q648 243 647 239Q618 132 523 55T319 -22Q206 -22 128 53T50 252Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&#39;s position&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains a single integer,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 460.5 865.1&quot; width=&quot;1.07ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q340 441 372 389Q373 390 377 395T388 406T404 418Q438 442 450 442Q454 442 457 439T460 434Q460 425 391 149Q320 -135 320 -139Q320 -147 365 -148H390Q396 -156 396 -157T393 -175Q389 -188 383 -194H370Q339 -192 262 -192Q234 -192 211 -192T174 -192T157 -193Q143 -193 143 -185Q143 -182 145 -170Q149 -154 152 -151T172 -148Q220 -148 230 -141Q238 -136 258 -53T279 32Q279 33 272 29Q224 -10 172 -10Q117 -10 75 30T33 157ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, denoting the number of queries.&lt;br /&gt;Each of the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 460.5 865.1&quot; width=&quot;1.07ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q340 441 372 389Q373 390 377 395T388 406T404 418Q438 442 450 442Q454 442 457 439T460 434Q460 425 391 149Q320 -135 320 -139Q320 -147 365 -148H390Q396 -156 396 -157T393 -175Q389 -188 383 -194H370Q339 -192 262 -192Q234 -192 211 -192T174 -192T157 -193Q143 -193 143 -185Q143 -182 145 -170Q149 -154 152 -151T172 -148Q220 -148 230 -141Q238 -136 258 -53T279 32Q279 33 272 29Q224 -10 172 -10Q117 -10 75 30T33 157ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;subsequent lines contains three space-separated integers describing the respective values of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 572.5 721.6&quot; width=&quot;1.33ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M52 289Q59 331 106 386T222 442Q257 442 286 424T329 379Q371 442 430 442Q467 442 494 420T522 361Q522 332 508 314T481 292T458 288Q439 288 427 299T415 328Q415 374 465 391Q454 404 425 404Q412 404 406 402Q368 386 350 336Q290 115 290 78Q290 50 306 38T341 26Q378 26 414 59T463 140Q466 150 469 151T485 153H489Q504 153 504 145Q504 144 502 134Q486 77 440 33T333 -11Q263 -11 227 52Q186 -10 133 -10H127Q78 -10 57 16T35 71Q35 103 54 123T99 143Q142 143 142 101Q142 81 130 66T107 46T94 41L91 40Q91 39 97 36T113 29T132 26Q168 26 194 71Q203 87 217 139T245 247T261 313Q266 340 266 352Q266 380 251 392T217 404Q177 404 142 372T93 290Q91 281 88 280T72 278H58Q52 284 52 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;(cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 750.5 936.9&quot; width=&quot;1.743ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&#39;s location),&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 497.5 865.1&quot; width=&quot;1.155ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;(cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 759.5 936.9&quot; width=&quot;1.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M231 637Q204 637 199 638T194 649Q194 676 205 682Q206 683 335 683Q594 683 608 681Q671 671 713 636T756 544Q756 480 698 429T565 360L555 357Q619 348 660 311T702 219Q702 146 630 78T453 1Q446 0 242 0Q42 0 39 2Q35 5 35 10Q35 17 37 24Q42 43 47 45Q51 46 62 46H68Q95 46 128 49Q142 52 147 61Q150 65 219 339T288 628Q288 635 231 637ZM649 544Q649 574 634 600T585 634Q578 636 493 637Q473 637 451 637T416 636H403Q388 635 384 626Q382 622 352 506Q352 503 351 500L320 374H401Q482 374 494 376Q554 386 601 434T649 544ZM595 229Q595 273 572 302T512 336Q506 337 429 337Q311 337 310 336Q310 334 293 263T258 122L240 52Q240 48 252 48T333 46Q422 46 429 47Q491 54 543 105T595 229Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&#39;s location), and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 468.5 721.6&quot; width=&quot;1.088ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M347 338Q337 338 294 349T231 360Q211 360 197 356T174 346T162 335T155 324L153 320Q150 317 138 317Q117 317 117 325Q117 330 120 339Q133 378 163 406T229 440Q241 442 246 442Q271 442 291 425T329 392T367 375Q389 375 411 408T434 441Q435 442 449 442H462Q468 436 468 434Q468 430 463 420T449 399T432 377T418 358L411 349Q368 298 275 214T160 106L148 94L163 93Q185 93 227 82T290 71Q328 71 360 90T402 140Q406 149 409 151T424 153Q443 153 443 143Q443 138 442 134Q425 72 376 31T278 -11Q252 -11 232 6T193 40T155 57Q111 57 76 -3Q70 -11 59 -11H54H41Q35 -5 35 -2Q35 13 93 84Q132 129 225 214T340 322Q352 338 347 338Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;(mouse&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 760.5 936.9&quot; width=&quot;1.766ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M50 252Q50 367 117 473T286 641T490 704Q580 704 633 653Q642 643 648 636T656 626L657 623Q660 623 684 649Q691 655 699 663T715 679T725 690L740 705H746Q760 705 760 698Q760 694 728 561Q692 422 692 421Q690 416 687 415T669 413H653Q647 419 647 422Q647 423 648 429T650 449T651 481Q651 552 619 605T510 659Q484 659 454 652T382 628T299 572T226 479Q194 422 175 346T156 222Q156 108 232 58Q280 24 350 24Q441 24 512 92T606 240Q610 253 612 255T628 257Q648 257 648 248Q648 243 647 239Q618 132 523 55T319 -22Q206 -22 128 53T50 252Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&#39;s location).&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 5130.6 1080.4&quot; width=&quot;11.916ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q340 441 372 389Q373 390 377 395T388 406T404 418Q438 442 450 442Q454 442 457 439T460 434Q460 425 391 149Q320 -135 320 -139Q320 -147 365 -148H390Q396 -156 396 -157T393 -175Q389 -188 383 -194H370Q339 -192 262 -192Q234 -192 211 -192T174 -192T157 -193Q143 -193 143 -185Q143 -182 145 -170Q149 -154 152 -151T172 -148Q220 -148 230 -141Q238 -136 258 -53T279 32Q279 33 272 29Q224 -10 172 -10Q117 -10 75 30T33 157ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2572,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3629,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 7098.9 1080.4&quot; width=&quot;16.488ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M52 289Q59 331 106 386T222 442Q257 442 286 424T329 379Q371 442 430 442Q467 442 494 420T522 361Q522 332 508 314T481 292T458 288Q439 288 427 299T415 328Q415 374 465 391Q454 404 425 404Q412 404 406 402Q368 386 350 336Q290 115 290 78Q290 50 306 38T341 26Q378 26 414 59T463 140Q466 150 469 151T485 153H489Q504 153 504 145Q504 144 502 134Q486 77 440 33T333 -11Q263 -11 227 52Q186 -10 133 -10H127Q78 -10 57 16T35 71Q35 103 54 123T99 143Q142 143 142 101Q142 81 130 66T107 46T94 41L91 40Q91 39 97 36T113 29T132 26Q168 26 194 71Q203 87 217 139T245 247T261 313Q266 340 266 352Q266 380 251 392T217 404Q177 404 142 372T93 290Q91 281 88 280T72 278H58Q52 284 52 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2407,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2852,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3349,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3794,0)&quot;&gt;&lt;path d=&quot;M347 338Q337 338 294 349T231 360Q211 360 197 356T174 346T162 335T155 324L153 320Q150 317 138 317Q117 317 117 325Q117 330 120 339Q133 378 163 406T229 440Q241 442 246 442Q271 442 291 425T329 392T367 375Q389 375 411 408T434 441Q435 442 449 442H462Q468 436 468 434Q468 430 463 420T449 399T432 377T418 358L411 349Q368 298 275 214T160 106L148 94L163 93Q185 93 227 82T290 71Q328 71 360 90T402 140Q406 149 409 151T424 153Q443 153 443 143Q443 138 442 134Q425 72 376 31T278 -11Q252 -11 232 6T193 40T155 57Q111 57 76 -3Q70 -11 59 -11H54H41Q35 -5 35 -2Q35 13 93 84Q132 129 225 214T340 322Q352 338 347 338Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4541,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5597,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
For each query, return&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Cat A&lt;/code&gt;&amp;nbsp;if cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 750.5 936.9&quot; width=&quot;1.743ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;catches the mouse first,&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Cat B&lt;/code&gt;&amp;nbsp;if cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 759.5 936.9&quot; width=&quot;1.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M231 637Q204 637 199 638T194 649Q194 676 205 682Q206 683 335 683Q594 683 608 681Q671 671 713 636T756 544Q756 480 698 429T565 360L555 357Q619 348 660 311T702 219Q702 146 630 78T453 1Q446 0 242 0Q42 0 39 2Q35 5 35 10Q35 17 37 24Q42 43 47 45Q51 46 62 46H68Q95 46 128 49Q142 52 147 61Q150 65 219 339T288 628Q288 635 231 637ZM649 544Q649 574 634 600T585 634Q578 636 493 637Q473 637 451 637T416 636H403Q388 635 384 626Q382 622 352 506Q352 503 351 500L320 374H401Q482 374 494 376Q554 386 601 434T649 544ZM595 229Q595 273 572 302T512 336Q506 337 429 337Q311 337 310 336Q310 334 293 263T258 122L240 52Q240 48 252 48T333 46Q422 46 429 47Q491 54 543 105T595 229Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;catches the mouse first, or&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Mouse C&lt;/code&gt;&amp;nbsp;if the mouse escapes.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1 2 3&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1 3 2&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Cat B&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Mouse C&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Query 0:&lt;/span&gt;&amp;nbsp;The positions of the cats and mouse are shown below:&amp;nbsp;&lt;img alt=&quot;image&quot; src=&quot;https://s3.amazonaws.com/hr-challenge-images/0/1480434477-7418fccf34-cat.png&quot; style=&quot;border: 0px none; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 15px 0px 0px; outline: 0px; padding: 15px; vertical-align: baseline;&quot; title=&quot;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Cat&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 759.5 936.9&quot; width=&quot;1.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M231 637Q204 637 199 638T194 649Q194 676 205 682Q206 683 335 683Q594 683 608 681Q671 671 713 636T756 544Q756 480 698 429T565 360L555 357Q619 348 660 311T702 219Q702 146 630 78T453 1Q446 0 242 0Q42 0 39 2Q35 5 35 10Q35 17 37 24Q42 43 47 45Q51 46 62 46H68Q95 46 128 49Q142 52 147 61Q150 65 219 339T288 628Q288 635 231 637ZM649 544Q649 574 634 600T585 634Q578 636 493 637Q473 637 451 637T416 636H403Q388 635 384 626Q382 622 352 506Q352 503 351 500L320 374H401Q482 374 494 376Q554 386 601 434T649 544ZM595 229Q595 273 572 302T512 336Q506 337 429 337Q311 337 310 336Q310 334 293 263T258 122L240 52Q240 48 252 48T333 46Q422 46 429 47Q491 54 543 105T595 229Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;will catch the mouse first, so we print&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Cat B&lt;/code&gt;&amp;nbsp;on a new line.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Query 1&lt;/span&gt;: In this query, cats&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 750.5 936.9&quot; width=&quot;1.743ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M208 74Q208 50 254 46Q272 46 272 35Q272 34 270 22Q267 8 264 4T251 0Q249 0 239 0T205 1T141 2Q70 2 50 0H42Q35 7 35 11Q37 38 48 46H62Q132 49 164 96Q170 102 345 401T523 704Q530 716 547 716H555H572Q578 707 578 706L606 383Q634 60 636 57Q641 46 701 46Q726 46 726 36Q726 34 723 22Q720 7 718 4T704 0Q701 0 690 0T651 1T578 2Q484 2 455 0H443Q437 6 437 9T439 27Q443 40 445 43L449 46H469Q523 49 533 63L521 213H283L249 155Q208 86 208 74ZM516 260Q516 271 504 416T490 562L463 519Q447 492 400 412L310 260L413 259Q516 259 516 260Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 759.5 936.9&quot; width=&quot;1.764ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M231 637Q204 637 199 638T194 649Q194 676 205 682Q206 683 335 683Q594 683 608 681Q671 671 713 636T756 544Q756 480 698 429T565 360L555 357Q619 348 660 311T702 219Q702 146 630 78T453 1Q446 0 242 0Q42 0 39 2Q35 5 35 10Q35 17 37 24Q42 43 47 45Q51 46 62 46H68Q95 46 128 49Q142 52 147 61Q150 65 219 339T288 628Q288 635 231 637ZM649 544Q649 574 634 600T585 634Q578 636 493 637Q473 637 451 637T416 636H403Q388 635 384 626Q382 622 352 506Q352 503 351 500L320 374H401Q482 374 494 376Q554 386 601 434T649 544ZM595 229Q595 273 572 302T512 336Q506 337 429 337Q311 337 310 336Q310 334 293 263T258 122L240 52Q240 48 252 48T333 46Q422 46 429 47Q491 54 543 105T595 229Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;reach mouse&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 760.5 936.9&quot; width=&quot;1.766ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M50 252Q50 367 117 473T286 641T490 704Q580 704 633 653Q642 643 648 636T656 626L657 623Q660 623 684 649Q691 655 699 663T715 679T725 690L740 705H746Q760 705 760 698Q760 694 728 561Q692 422 692 421Q690 416 687 415T669 413H653Q647 419 647 422Q647 423 648 429T650 449T651 481Q651 552 619 605T510 659Q484 659 454 652T382 628T299 572T226 479Q194 422 175 346T156 222Q156 108 232 58Q280 24 350 24Q441 24 512 92T606 240Q610 253 612 255T628 257Q648 257 648 248Q648 243 647 239Q618 132 523 55T319 -22Q206 -22 128 53T50 252Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;at the exact same time:&amp;nbsp;&lt;img alt=&quot;image&quot; src=&quot;https://s3.amazonaws.com/hr-challenge-images/0/1480434557-601bef86ba-cat1.png&quot; style=&quot;border: 0px none; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 15px 0px 0px; outline: 0px; padding: 15px; vertical-align: baseline;&quot; title=&quot;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Because the mouse escapes, we print&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Mouse C&lt;/code&gt;&amp;nbsp;on a new line.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#!/bin/python3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;math
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;os
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;random
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;re
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys

&lt;span style=&quot;color: grey;&quot;&gt;# Complete the catAndMouse function below.&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;catAndMouse&lt;/span&gt;(x&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;y&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;z):
    &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;abs&lt;/span&gt;(z-x) == &lt;span style=&quot;color: #8888c6;&quot;&gt;abs&lt;/span&gt;(z-y):
        &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;Mouse C&#39;&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;elif &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;abs&lt;/span&gt;(z-x) &amp;lt; &lt;span style=&quot;color: #8888c6;&quot;&gt;abs&lt;/span&gt;(z-y):
        &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;Cat A&#39;&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;Cat B&#39;&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    fptr = &lt;span style=&quot;color: #8888c6;&quot;&gt;open&lt;/span&gt;(os.environ[&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;OUTPUT_PATH&#39;&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;w&#39;&lt;/span&gt;)

    q = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())

    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;q_itr &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;range&lt;/span&gt;(q):
        xyz = &lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().split()

        x = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(xyz[&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;])

        y = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(xyz[&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;])

        z = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(xyz[&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;])

        result = catAndMouse(x&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;y&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;z)

        fptr.write(result + &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;)

    fptr.close()&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/3871350832325494768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/cats-and-mouse-hackerrank-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/3871350832325494768'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/3871350832325494768'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/cats-and-mouse-hackerrank-solution.html' title='Cats and a Mouse - Hackerrank Solution (Python) code 2020'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-782952841358673017</id><published>2020-05-05T17:56:00.000+05:30</published><updated>2020-05-05T17:56:35.235+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Electronics Shop - Hackerrank Solution (Python) code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Monica wants to buy a keyboard and a USB drive from her favorite electronics store. The store has several models of each. Monica wants to spend as much as possible for the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;items, given her budget.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Given the price lists for the store&#39;s keyboards and USB drives, and Monica&#39;s budget, find and print the amount of money Monica will spend. If she doesn&#39;t have enough money to both a keyboard&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;and&lt;/span&gt;&amp;nbsp;a USB drive, print&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;-1&lt;/code&gt;&amp;nbsp;instead. She will buy only the two required items.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
For example, suppose she has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2764.6 936.9&quot; width=&quot;6.421ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(707,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1763,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;to spend. Three types of keyboards cost&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 10158.9 1223.9&quot; width=&quot;23.595ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(521,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(988,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1485,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1915,0)&quot;&gt;&lt;path d=&quot;M201 -11Q126 -11 80 38T34 156Q34 221 64 279T146 380Q222 441 301 441Q333 441 341 440Q354 437 367 433T402 417T438 387T464 338T476 268Q476 161 390 75T201 -11ZM121 120Q121 70 147 48T206 26Q250 26 289 58T351 142Q360 163 374 216T388 308Q388 352 370 375Q346 405 306 405Q243 405 195 347Q158 303 140 230T121 120Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2400,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2930,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3381,0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3905,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4652,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5708,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5987,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6988,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7433,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8434,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8879,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(9880,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Two USB drives cost&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 7525.4 1223.9&quot; width=&quot;17.478ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(523,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(975,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1320,0)&quot;&gt;&lt;path d=&quot;M173 380Q173 405 154 405Q130 405 104 376T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Q21 294 29 316T53 368T97 419T160 441Q202 441 225 417T249 361Q249 344 246 335Q246 329 231 291T200 202T182 113Q182 86 187 69Q200 26 250 26Q287 26 319 60T369 139T398 222T409 277Q409 300 401 317T383 343T365 361T357 383Q357 405 376 424T417 443Q436 443 451 425T467 367Q467 340 455 284T418 159T347 40T241 -11Q177 -11 139 22Q102 54 102 117Q102 148 110 181T151 298Q173 362 173 380Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1806,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2272,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3019,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4076,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4354,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4855,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5300,0)&quot;&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5800,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6245,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7246,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. She could purchase a&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 15034 1080.4&quot; width=&quot;34.918ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M36 46H50Q89 46 97 60V68Q97 77 97 91T97 124T98 167T98 217T98 272T98 329Q98 366 98 407T98 482T98 542T97 586T97 603Q94 622 83 628T38 637H20V660Q20 683 22 683L32 684Q42 685 61 686T98 688Q115 689 135 690T165 693T176 694H179V463L180 233L240 287Q300 341 304 347Q310 356 310 364Q310 383 289 385H284V431H293Q308 428 412 428Q475 428 484 431H489V385H476Q407 380 360 341Q286 278 286 274Q286 273 349 181T420 79Q434 60 451 53T500 46H511V0H505Q496 3 418 3Q322 3 307 0H299V46H306Q330 48 330 65Q330 72 326 79Q323 84 276 153T228 222L176 176V120V84Q176 65 178 59T189 49Q210 46 238 46H254V0H246Q231 3 137 3T28 0H20V46H36Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(250,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M28 218Q28 273 48 318T98 391T163 433T229 448Q282 448 320 430T378 380T406 316T415 245Q415 238 408 231H126V216Q126 68 226 36Q246 30 270 30Q312 30 342 62Q359 79 369 104L379 128Q382 131 395 131H398Q415 131 415 121Q415 117 412 108Q393 53 349 21T250 -11Q155 -11 92 58T28 218ZM333 275Q322 403 238 411H236Q228 411 220 410T195 402T166 381T143 340T127 274V267H333V275Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(778,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M69 -66Q91 -66 104 -80T118 -116Q118 -134 109 -145T91 -160Q84 -163 97 -166Q104 -168 111 -168Q131 -168 148 -159T175 -138T197 -106T213 -75T225 -43L242 0L170 183Q150 233 125 297Q101 358 96 368T80 381Q79 382 78 382Q66 385 34 385H19V431H26L46 430Q65 430 88 429T122 428Q129 428 142 428T171 429T200 430T224 430L233 431H241V385H232Q183 385 185 366L286 112Q286 113 332 227L376 341V350Q376 365 366 373T348 383T334 385H331V431H337H344Q351 431 361 431T382 430T405 429T422 429Q477 429 503 431H508V385H497Q441 380 422 345Q420 343 378 235T289 9T227 -131Q180 -204 113 -204Q69 -204 44 -177T19 -116Q19 -89 35 -78T69 -66Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1223,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M307 -11Q234 -11 168 55L158 37Q156 34 153 28T147 17T143 10L138 1L118 0H98V298Q98 599 97 603Q94 622 83 628T38 637H20V660Q20 683 22 683L32 684Q42 685 61 686T98 688Q115 689 135 690T165 693T176 694H179V543Q179 391 180 391L183 394Q186 397 192 401T207 411T228 421T254 431T286 439T323 442Q401 442 461 379T522 216Q522 115 458 52T307 -11ZM182 98Q182 97 187 90T196 79T206 67T218 55T233 44T250 35T271 29T295 26Q330 26 363 46T412 113Q424 148 424 212Q424 287 412 323Q385 405 300 405Q270 405 239 390T188 347L182 339V98Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1751,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M28 214Q28 309 93 378T250 448Q340 448 405 380T471 215Q471 120 407 55T250 -10Q153 -10 91 57T28 214ZM250 30Q372 30 372 193V225V250Q372 272 371 288T364 326T348 362T317 390T268 410Q263 411 252 411Q222 411 195 399Q152 377 139 338T126 246V226Q126 130 145 91Q177 30 250 30Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2308,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M137 305T115 305T78 320T63 359Q63 394 97 421T218 448Q291 448 336 416T396 340Q401 326 401 309T402 194V124Q402 76 407 58T428 40Q443 40 448 56T453 109V145H493V106Q492 66 490 59Q481 29 455 12T400 -6T353 12T329 54V58L327 55Q325 52 322 49T314 40T302 29T287 17T269 6T247 -2T221 -8T190 -11Q130 -11 82 20T34 107Q34 128 41 147T68 188T116 225T194 253T304 268H318V290Q318 324 312 340Q290 411 215 411Q197 411 181 410T156 406T148 403Q170 388 170 359Q170 334 154 320ZM126 106Q126 75 150 51T209 26Q247 26 276 49T315 109Q317 116 318 175Q318 233 317 233Q309 233 296 232T251 223T193 203T147 166T126 106Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2808,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M36 46H50Q89 46 97 60V68Q97 77 97 91T98 122T98 161T98 203Q98 234 98 269T98 328L97 351Q94 370 83 376T38 385H20V408Q20 431 22 431L32 432Q42 433 60 434T96 436Q112 437 131 438T160 441T171 442H174V373Q213 441 271 441H277Q322 441 343 419T364 373Q364 352 351 337T313 322Q288 322 276 338T263 372Q263 381 265 388T270 400T273 405Q271 407 250 401Q234 393 226 386Q179 341 179 207V154Q179 141 179 127T179 101T180 81T180 66V61Q181 59 183 57T188 54T193 51T200 49T207 48T216 47T225 47T235 46T245 46H276V0H267Q249 3 140 3Q37 3 28 0H20V46H36Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3309,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M376 495Q376 511 376 535T377 568Q377 613 367 624T316 637H298V660Q298 683 300 683L310 684Q320 685 339 686T376 688Q393 689 413 690T443 693T454 694H457V390Q457 84 458 81Q461 61 472 55T517 46H535V0Q533 0 459 -5T380 -11H373V44L365 37Q307 -11 235 -11Q158 -11 96 50T34 215Q34 315 97 378T244 442Q319 442 376 393V495ZM373 342Q328 405 260 405Q211 405 173 369Q146 341 139 305T131 211Q131 155 138 120T173 59Q203 26 251 26Q322 26 373 103V342Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3701,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5731,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6731,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7732,0)&quot;&gt;&lt;path d=&quot;M128 622Q121 629 117 631T101 634T58 637H25V683H36Q57 680 180 680Q315 680 324 683H335V637H302Q262 636 251 634T233 622L232 418V291Q232 189 240 145T280 67Q325 24 389 24Q454 24 506 64T571 183Q575 206 575 410V598Q569 608 565 613T541 627T489 637H472V683H481Q496 680 598 680T715 683H724V637H707Q634 633 622 598L621 399Q620 194 617 180Q617 179 615 171Q595 83 531 31T389 -22Q304 -22 226 33T130 192Q129 201 128 412V622Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(250,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M55 507Q55 590 112 647T243 704H257Q342 704 405 641L426 672Q431 679 436 687T446 700L449 704Q450 704 453 704T459 705H463Q466 705 472 699V462L466 456H448Q437 456 435 459T430 479Q413 605 329 646Q292 662 254 662Q201 662 168 626T135 542Q135 508 152 480T200 435Q210 431 286 412T370 389Q427 367 463 314T500 191Q500 110 448 45T301 -21Q245 -21 201 -4T140 27L122 41Q118 36 107 21T87 -7T78 -21Q76 -22 68 -22H64Q61 -22 55 -16V101Q55 220 56 222Q58 227 76 227H89Q95 221 95 214Q95 182 105 151T139 90T205 42T305 24Q352 24 386 62T420 155Q420 198 398 233T340 281Q284 295 266 300Q261 301 239 306T206 314T174 325T141 343T112 367T85 402Q55 451 55 507Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1000,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M131 622Q124 629 120 631T104 634T61 637H28V683H229H267H346Q423 683 459 678T531 651Q574 627 599 590T624 512Q624 461 583 419T476 360L466 357Q539 348 595 302T651 187Q651 119 600 67T469 3Q456 1 242 0H28V46H61Q103 47 112 49T131 61V622ZM511 513Q511 560 485 594T416 636Q415 636 403 636T371 636T333 637Q266 637 251 636T232 628Q229 624 229 499V374H312L396 375L406 377Q410 378 417 380T442 393T474 417T499 456T511 513ZM537 188Q537 239 509 282T430 336L329 337H229V200V116Q229 57 234 52Q240 47 334 47H383Q425 47 443 53Q486 67 511 104T537 188Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1557,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M376 495Q376 511 376 535T377 568Q377 613 367 624T316 637H298V660Q298 683 300 683L310 684Q320 685 339 686T376 688Q393 689 413 690T443 693T454 694H457V390Q457 84 458 81Q461 61 472 55T517 46H535V0Q533 0 459 -5T380 -11H373V44L365 37Q307 -11 235 -11Q158 -11 96 50T34 215Q34 315 97 378T244 442Q319 442 376 393V495ZM373 342Q328 405 260 405Q211 405 173 369Q146 341 139 305T131 211Q131 155 138 120T173 59Q203 26 251 26Q322 26 373 103V342Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2515,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M36 46H50Q89 46 97 60V68Q97 77 97 91T98 122T98 161T98 203Q98 234 98 269T98 328L97 351Q94 370 83 376T38 385H20V408Q20 431 22 431L32 432Q42 433 60 434T96 436Q112 437 131 438T160 441T171 442H174V373Q213 441 271 441H277Q322 441 343 419T364 373Q364 352 351 337T313 322Q288 322 276 338T263 372Q263 381 265 388T270 400T273 405Q271 407 250 401Q234 393 226 386Q179 341 179 207V154Q179 141 179 127T179 101T180 81T180 66V61Q181 59 183 57T188 54T193 51T200 49T207 48T216 47T225 47T235 46T245 46H276V0H267Q249 3 140 3Q37 3 28 0H20V46H36Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3072,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M69 609Q69 637 87 653T131 669Q154 667 171 652T188 609Q188 579 171 564T129 549Q104 549 87 564T69 609ZM247 0Q232 3 143 3Q132 3 106 3T56 1L34 0H26V46H42Q70 46 91 49Q100 53 102 60T104 102V205V293Q104 345 102 359T88 378Q74 385 41 385H30V408Q30 431 32 431L42 432Q52 433 70 434T106 436Q123 437 142 438T171 441T182 442H185V62Q190 52 197 50T232 46H255V0H247Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3464,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M338 431Q344 429 422 429Q479 429 503 431H508V385H497Q439 381 423 345Q421 341 356 172T288 -2Q283 -11 263 -11Q244 -11 239 -2Q99 359 98 364Q93 378 82 381T43 385H19V431H25L33 430Q41 430 53 430T79 430T104 429T122 428Q217 428 232 431H240V385H226Q187 384 184 370Q184 366 235 234L286 102L377 341V349Q377 363 367 372T349 383T335 385H331V431H338Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3743,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M28 218Q28 273 48 318T98 391T163 433T229 448Q282 448 320 430T378 380T406 316T415 245Q415 238 408 231H126V216Q126 68 226 36Q246 30 270 30Q312 30 342 62Q359 79 369 104L379 128Q382 131 395 131H398Q415 131 415 121Q415 117 412 108Q393 53 349 21T250 -11Q155 -11 92 58T28 218ZM333 275Q322 403 238 411H236Q228 411 220 410T195 402T166 381T143 340T127 274V267H333V275Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4271,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(12976,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(14033,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, or a&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 14533.5 1080.4&quot; width=&quot;33.755ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,0)&quot;&gt;&lt;path d=&quot;M36 46H50Q89 46 97 60V68Q97 77 97 91T97 124T98 167T98 217T98 272T98 329Q98 366 98 407T98 482T98 542T97 586T97 603Q94 622 83 628T38 637H20V660Q20 683 22 683L32 684Q42 685 61 686T98 688Q115 689 135 690T165 693T176 694H179V463L180 233L240 287Q300 341 304 347Q310 356 310 364Q310 383 289 385H284V431H293Q308 428 412 428Q475 428 484 431H489V385H476Q407 380 360 341Q286 278 286 274Q286 273 349 181T420 79Q434 60 451 53T500 46H511V0H505Q496 3 418 3Q322 3 307 0H299V46H306Q330 48 330 65Q330 72 326 79Q323 84 276 153T228 222L176 176V120V84Q176 65 178 59T189 49Q210 46 238 46H254V0H246Q231 3 137 3T28 0H20V46H36Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(250,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M28 218Q28 273 48 318T98 391T163 433T229 448Q282 448 320 430T378 380T406 316T415 245Q415 238 408 231H126V216Q126 68 226 36Q246 30 270 30Q312 30 342 62Q359 79 369 104L379 128Q382 131 395 131H398Q415 131 415 121Q415 117 412 108Q393 53 349 21T250 -11Q155 -11 92 58T28 218ZM333 275Q322 403 238 411H236Q228 411 220 410T195 402T166 381T143 340T127 274V267H333V275Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(778,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M69 -66Q91 -66 104 -80T118 -116Q118 -134 109 -145T91 -160Q84 -163 97 -166Q104 -168 111 -168Q131 -168 148 -159T175 -138T197 -106T213 -75T225 -43L242 0L170 183Q150 233 125 297Q101 358 96 368T80 381Q79 382 78 382Q66 385 34 385H19V431H26L46 430Q65 430 88 429T122 428Q129 428 142 428T171 429T200 430T224 430L233 431H241V385H232Q183 385 185 366L286 112Q286 113 332 227L376 341V350Q376 365 366 373T348 383T334 385H331V431H337H344Q351 431 361 431T382 430T405 429T422 429Q477 429 503 431H508V385H497Q441 380 422 345Q420 343 378 235T289 9T227 -131Q180 -204 113 -204Q69 -204 44 -177T19 -116Q19 -89 35 -78T69 -66Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1223,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M307 -11Q234 -11 168 55L158 37Q156 34 153 28T147 17T143 10L138 1L118 0H98V298Q98 599 97 603Q94 622 83 628T38 637H20V660Q20 683 22 683L32 684Q42 685 61 686T98 688Q115 689 135 690T165 693T176 694H179V543Q179 391 180 391L183 394Q186 397 192 401T207 411T228 421T254 431T286 439T323 442Q401 442 461 379T522 216Q522 115 458 52T307 -11ZM182 98Q182 97 187 90T196 79T206 67T218 55T233 44T250 35T271 29T295 26Q330 26 363 46T412 113Q424 148 424 212Q424 287 412 323Q385 405 300 405Q270 405 239 390T188 347L182 339V98Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1751,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M28 214Q28 309 93 378T250 448Q340 448 405 380T471 215Q471 120 407 55T250 -10Q153 -10 91 57T28 214ZM250 30Q372 30 372 193V225V250Q372 272 371 288T364 326T348 362T317 390T268 410Q263 411 252 411Q222 411 195 399Q152 377 139 338T126 246V226Q126 130 145 91Q177 30 250 30Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2308,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M137 305T115 305T78 320T63 359Q63 394 97 421T218 448Q291 448 336 416T396 340Q401 326 401 309T402 194V124Q402 76 407 58T428 40Q443 40 448 56T453 109V145H493V106Q492 66 490 59Q481 29 455 12T400 -6T353 12T329 54V58L327 55Q325 52 322 49T314 40T302 29T287 17T269 6T247 -2T221 -8T190 -11Q130 -11 82 20T34 107Q34 128 41 147T68 188T116 225T194 253T304 268H318V290Q318 324 312 340Q290 411 215 411Q197 411 181 410T156 406T148 403Q170 388 170 359Q170 334 154 320ZM126 106Q126 75 150 51T209 26Q247 26 276 49T315 109Q317 116 318 175Q318 233 317 233Q309 233 296 232T251 223T193 203T147 166T126 106Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2808,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M36 46H50Q89 46 97 60V68Q97 77 97 91T98 122T98 161T98 203Q98 234 98 269T98 328L97 351Q94 370 83 376T38 385H20V408Q20 431 22 431L32 432Q42 433 60 434T96 436Q112 437 131 438T160 441T171 442H174V373Q213 441 271 441H277Q322 441 343 419T364 373Q364 352 351 337T313 322Q288 322 276 338T263 372Q263 381 265 388T270 400T273 405Q271 407 250 401Q234 393 226 386Q179 341 179 207V154Q179 141 179 127T179 101T180 81T180 66V61Q181 59 183 57T188 54T193 51T200 49T207 48T216 47T225 47T235 46T245 46H276V0H267Q249 3 140 3Q37 3 28 0H20V46H36Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3309,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M376 495Q376 511 376 535T377 568Q377 613 367 624T316 637H298V660Q298 683 300 683L310 684Q320 685 339 686T376 688Q393 689 413 690T443 693T454 694H457V390Q457 84 458 81Q461 61 472 55T517 46H535V0Q533 0 459 -5T380 -11H373V44L365 37Q307 -11 235 -11Q158 -11 96 50T34 215Q34 315 97 378T244 442Q319 442 376 393V495ZM373 342Q328 405 260 405Q211 405 173 369Q146 341 139 305T131 211Q131 155 138 120T173 59Q203 26 251 26Q322 26 373 103V342Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3701,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5731,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6731,0)&quot;&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7232,0)&quot;&gt;&lt;path d=&quot;M128 622Q121 629 117 631T101 634T58 637H25V683H36Q57 680 180 680Q315 680 324 683H335V637H302Q262 636 251 634T233 622L232 418V291Q232 189 240 145T280 67Q325 24 389 24Q454 24 506 64T571 183Q575 206 575 410V598Q569 608 565 613T541 627T489 637H472V683H481Q496 680 598 680T715 683H724V637H707Q634 633 622 598L621 399Q620 194 617 180Q617 179 615 171Q595 83 531 31T389 -22Q304 -22 226 33T130 192Q129 201 128 412V622Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(250,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M55 507Q55 590 112 647T243 704H257Q342 704 405 641L426 672Q431 679 436 687T446 700L449 704Q450 704 453 704T459 705H463Q466 705 472 699V462L466 456H448Q437 456 435 459T430 479Q413 605 329 646Q292 662 254 662Q201 662 168 626T135 542Q135 508 152 480T200 435Q210 431 286 412T370 389Q427 367 463 314T500 191Q500 110 448 45T301 -21Q245 -21 201 -4T140 27L122 41Q118 36 107 21T87 -7T78 -21Q76 -22 68 -22H64Q61 -22 55 -16V101Q55 220 56 222Q58 227 76 227H89Q95 221 95 214Q95 182 105 151T139 90T205 42T305 24Q352 24 386 62T420 155Q420 198 398 233T340 281Q284 295 266 300Q261 301 239 306T206 314T174 325T141 343T112 367T85 402Q55 451 55 507Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1000,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M131 622Q124 629 120 631T104 634T61 637H28V683H229H267H346Q423 683 459 678T531 651Q574 627 599 590T624 512Q624 461 583 419T476 360L466 357Q539 348 595 302T651 187Q651 119 600 67T469 3Q456 1 242 0H28V46H61Q103 47 112 49T131 61V622ZM511 513Q511 560 485 594T416 636Q415 636 403 636T371 636T333 637Q266 637 251 636T232 628Q229 624 229 499V374H312L396 375L406 377Q410 378 417 380T442 393T474 417T499 456T511 513ZM537 188Q537 239 509 282T430 336L329 337H229V200V116Q229 57 234 52Q240 47 334 47H383Q425 47 443 53Q486 67 511 104T537 188Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1557,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M376 495Q376 511 376 535T377 568Q377 613 367 624T316 637H298V660Q298 683 300 683L310 684Q320 685 339 686T376 688Q393 689 413 690T443 693T454 694H457V390Q457 84 458 81Q461 61 472 55T517 46H535V0Q533 0 459 -5T380 -11H373V44L365 37Q307 -11 235 -11Q158 -11 96 50T34 215Q34 315 97 378T244 442Q319 442 376 393V495ZM373 342Q328 405 260 405Q211 405 173 369Q146 341 139 305T131 211Q131 155 138 120T173 59Q203 26 251 26Q322 26 373 103V342Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2515,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M36 46H50Q89 46 97 60V68Q97 77 97 91T98 122T98 161T98 203Q98 234 98 269T98 328L97 351Q94 370 83 376T38 385H20V408Q20 431 22 431L32 432Q42 433 60 434T96 436Q112 437 131 438T160 441T171 442H174V373Q213 441 271 441H277Q322 441 343 419T364 373Q364 352 351 337T313 322Q288 322 276 338T263 372Q263 381 265 388T270 400T273 405Q271 407 250 401Q234 393 226 386Q179 341 179 207V154Q179 141 179 127T179 101T180 81T180 66V61Q181 59 183 57T188 54T193 51T200 49T207 48T216 47T225 47T235 46T245 46H276V0H267Q249 3 140 3Q37 3 28 0H20V46H36Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3072,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M69 609Q69 637 87 653T131 669Q154 667 171 652T188 609Q188 579 171 564T129 549Q104 549 87 564T69 609ZM247 0Q232 3 143 3Q132 3 106 3T56 1L34 0H26V46H42Q70 46 91 49Q100 53 102 60T104 102V205V293Q104 345 102 359T88 378Q74 385 41 385H30V408Q30 431 32 431L42 432Q52 433 70 434T106 436Q123 437 142 438T171 441T182 442H185V62Q190 52 197 50T232 46H255V0H247Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3464,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M338 431Q344 429 422 429Q479 429 503 431H508V385H497Q439 381 423 345Q421 341 356 172T288 -2Q283 -11 263 -11Q244 -11 239 -2Q99 359 98 364Q93 378 82 381T43 385H19V431H25L33 430Q41 430 53 430T79 430T104 429T122 428Q217 428 232 431H240V385H226Q187 384 184 370Q184 366 235 234L286 102L377 341V349Q377 363 367 372T349 383T335 385H331V431H338Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3743,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M28 218Q28 273 48 318T98 391T163 433T229 448Q282 448 320 430T378 380T406 316T415 245Q415 238 408 231H126V216Q126 68 226 36Q246 30 270 30Q312 30 342 62Q359 79 369 104L379 128Q382 131 395 131H398Q415 131 415 121Q415 117 412 108Q393 53 349 21T250 -11Q155 -11 92 58T28 218ZM333 275Q322 403 238 411H236Q228 411 220 410T195 402T166 381T143 340T127 274V267H333V275Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4271,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(12476,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(13532,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. She chooses the latter. She can&#39;t buy more than&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;items so she can&#39;t spend exactly&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Function Description&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Complete the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;getMoneySpent&lt;/span&gt;&amp;nbsp;function in the editor below. It should return the maximum total price for the two items within Monica&#39;s budget, or&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 1279 1008.6&quot; width=&quot;2.971ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;if she cannot afford both items.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
getMoneySpent has the following parameter(s):&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;keyboards&lt;/span&gt;: an array of integers representing keyboard prices&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;drives&lt;/span&gt;: an array of integers representing drive prices&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;b&lt;/span&gt;: the units of currency in Monica&#39;s budget&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains three space-separated integers&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 429.5 936.9&quot; width=&quot;0.998ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 878.5 721.6&quot; width=&quot;2.04ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, her budget, the number of keyboard models and the number of USB drive models.&lt;br /&gt;The second line contains&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;space-separated integers&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4807.5 1223.9&quot; width=&quot;11.166ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(521,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(988,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1485,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1915,0)&quot;&gt;&lt;path d=&quot;M201 -11Q126 -11 80 38T34 156Q34 221 64 279T146 380Q222 441 301 441Q333 441 341 440Q354 437 367 433T402 417T438 387T464 338T476 268Q476 161 390 75T201 -11ZM121 120Q121 70 147 48T206 26Q250 26 289 58T351 142Q360 163 374 216T388 308Q388 352 370 375Q346 405 306 405Q243 405 195 347Q158 303 140 230T121 120Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2400,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2930,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3381,0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3905,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4183,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4529,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the prices of each keyboard model.&lt;br /&gt;The third line contains&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 878.5 721.6&quot; width=&quot;2.04ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;space-separated integers&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2742 936.9&quot; width=&quot;6.369ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(523,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(975,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1320,0)&quot;&gt;&lt;path d=&quot;M173 380Q173 405 154 405Q130 405 104 376T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Q21 294 29 316T53 368T97 419T160 441Q202 441 225 417T249 361Q249 344 246 335Q246 329 231 291T200 202T182 113Q182 86 187 69Q200 26 250 26Q287 26 319 60T369 139T398 222T409 277Q409 300 401 317T383 343T365 361T357 383Q357 405 376 424T417 443Q436 443 451 425T467 367Q467 340 455 284T418 159T347 40T241 -11Q177 -11 139 22Q102 54 102 117Q102 148 110 181T151 298Q173 362 173 380Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1806,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2272,0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the prices of the USB drives.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 7094.8 1080.4&quot; width=&quot;16.478ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2435,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2880,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4036,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5092,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -1006.6 5053 1223.9&quot; width=&quot;11.736ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2541,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3598,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,393)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;The price of each item is in the inclusive range&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;3.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -1006.6 2957.6 1367.4&quot; width=&quot;6.869ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(278,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(779,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1224,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,393)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2679,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Print a single integer denoting the amount of money Monica will spend. If she doesn&#39;t have enough money to buy one keyboard&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;and&lt;/span&gt;&amp;nbsp;one USB drive, print&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;-1&lt;/code&gt;&amp;nbsp;instead.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;10 2 3&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3 1&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;5 2 8&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;9&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
She can buy the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 1395.3 1152.1&quot; width=&quot;3.241ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(500,393)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(424,0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;keyboard and the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 1289.9 1152.1&quot; width=&quot;2.996ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(500,392)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(319,0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;USB drive for a total cost of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 4058.5 1008.6&quot; width=&quot;9.426ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(722,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1723,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2501,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3558,0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;5 1 1&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;4&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;5&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-1&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
There is no way to buy one keyboard and one USB drive because&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 4058.5 1008.6&quot; width=&quot;9.426ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(722,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1723,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2501,0)&quot;&gt;&lt;path d=&quot;M84 520Q84 528 88 533T96 539L99 540Q106 540 253 471T544 334L687 265Q694 260 694 250T687 235Q685 233 395 96L107 -40H101Q83 -38 83 -20Q83 -19 83 -17Q82 -10 98 -1Q117 9 248 71Q326 108 378 132L626 250L378 368Q90 504 86 509Q84 513 84 520Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3558,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, so we print&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1279 936.9&quot; width=&quot;2.971ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#!/bin/python3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;os
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys

&lt;span style=&quot;color: grey;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Complete the getMoneySpent function below.&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;getMoneySpent&lt;/span&gt;(keyboards&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;drives&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;b):
    all_prices = []
    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;keyboard &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;keyboards:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;drive &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;drives:
            all_prices.append(keyboard+drive)    
    all_prices.sort(&lt;span style=&quot;color: #aa4926;&quot;&gt;reverse&lt;/span&gt;=&lt;span style=&quot;color: #cc7832;&quot;&gt;True&lt;/span&gt;)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;for &lt;/span&gt;combine_price &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;all_prices:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;combine_price &amp;lt;= b:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;combine_price
    &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;-&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    fptr = &lt;span style=&quot;color: #8888c6;&quot;&gt;open&lt;/span&gt;(os.environ[&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;OUTPUT_PATH&#39;&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;w&#39;&lt;/span&gt;)

    bnm = &lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().split()

    b = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(bnm[&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;])

    n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(bnm[&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;])

    m = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(bnm[&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;])

    keyboards = &lt;span style=&quot;color: #8888c6;&quot;&gt;list&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;map&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().rstrip().split()))

    drives = &lt;span style=&quot;color: #8888c6;&quot;&gt;list&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;map&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().rstrip().split()))

    &lt;span style=&quot;color: grey;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;    # The maximum amount of money she can spend on a keyboard and USB drive, or -1 if she can&#39;t purchase both items&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;    #&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;    &lt;/span&gt;moneySpent = getMoneySpent(keyboards&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;drives&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;b)

    fptr.write(&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(moneySpent) + &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;)

    fptr.close()&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/782952841358673017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/electronics-shop-hackerrank-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/782952841358673017'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/782952841358673017'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/electronics-shop-hackerrank-solution.html' title='Electronics Shop - Hackerrank Solution (Python) code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-4724735908593742572</id><published>2020-05-05T16:04:00.002+05:30</published><updated>2020-05-05T16:04:45.033+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="competitive programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Counting Valleys - Hackerrank Solution (Python) Code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Gary is an avid hiker. He tracks his hikes meticulously, paying close attention to small details like topography. During his last hike he took exactly&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;steps. For every step he took, he noted if it was an&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;uphill&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 767.5 936.9&quot; width=&quot;1.783ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M107 637Q73 637 71 641Q70 643 70 649Q70 673 81 682Q83 683 98 683Q139 681 234 681Q268 681 297 681T342 682T362 682Q378 682 378 672Q378 670 376 658Q371 641 366 638H364Q362 638 359 638T352 638T343 637T334 637Q295 636 284 634T266 623Q265 621 238 518T184 302T154 169Q152 155 152 140Q152 86 183 55T269 24Q336 24 403 69T501 205L552 406Q599 598 599 606Q599 633 535 637Q511 637 511 648Q511 650 513 660Q517 676 519 679T529 683Q532 683 561 682T645 680Q696 680 723 681T752 682Q767 682 767 672Q767 650 759 642Q756 637 737 637Q666 633 648 597Q646 592 598 404Q557 235 548 205Q515 105 433 42T263 -22Q171 -22 116 34T60 167V183Q60 201 115 421Q164 622 164 628Q164 635 107 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, or a&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;downhill&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 828.5 936.9&quot; width=&quot;1.924ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M287 628Q287 635 230 637Q207 637 200 638T193 647Q193 655 197 667T204 682Q206 683 403 683Q570 682 590 682T630 676Q702 659 752 597T803 431Q803 275 696 151T444 3L430 1L236 0H125H72Q48 0 41 2T33 11Q33 13 36 25Q40 41 44 43T67 46Q94 46 127 49Q141 52 146 61Q149 65 218 339T287 628ZM703 469Q703 507 692 537T666 584T629 613T590 629T555 636Q553 636 541 636T512 636T479 637H436Q392 637 386 627Q384 623 313 339T242 52Q242 48 253 48T330 47Q335 47 349 47T373 46Q499 46 581 128Q617 164 640 212T683 339T703 469Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;step. Gary&#39;s hikes start and end at sea level and each step up or down represents a&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;unit change in altitude. We define the following terms:&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;A&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;mountain&lt;/span&gt;&amp;nbsp;is a sequence of consecutive steps&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;above&lt;/span&gt;&amp;nbsp;sea level, starting with a step&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;up&lt;/span&gt;&amp;nbsp;from sea level and ending with a step&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;down&lt;/span&gt;&amp;nbsp;to sea level.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;A&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;valley&lt;/span&gt;&amp;nbsp;is a sequence of consecutive steps&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;below&lt;/span&gt;&amp;nbsp;sea level, starting with a step&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;down&lt;/span&gt;&amp;nbsp;from sea level and ending with a step&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;up&lt;/span&gt;&amp;nbsp;to sea level.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Given Gary&#39;s sequence of&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;up&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;down&lt;/span&gt;&amp;nbsp;steps during his last hike, find and print the number of&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;valleys&lt;/span&gt;&amp;nbsp;he walked through.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
For example, if Gary&#39;s path is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 8744.6 1223.9&quot; width=&quot;20.31ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(747,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1803,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2082,0)&quot;&gt;&lt;path d=&quot;M287 628Q287 635 230 637Q207 637 200 638T193 647Q193 655 197 667T204 682Q206 683 403 683Q570 682 590 682T630 676Q702 659 752 597T803 431Q803 275 696 151T444 3L430 1L236 0H125H72Q48 0 41 2T33 11Q33 13 36 25Q40 41 44 43T67 46Q94 46 127 49Q141 52 146 61Q149 65 218 339T287 628ZM703 469Q703 507 692 537T666 584T629 613T590 629T555 636Q553 636 541 636T512 636T479 637H436Q392 637 386 627Q384 623 313 339T242 52Q242 48 253 48T330 47Q335 47 349 47T373 46Q499 46 581 128Q617 164 640 212T683 339T703 469Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2910,0)&quot;&gt;&lt;path d=&quot;M287 628Q287 635 230 637Q207 637 200 638T193 647Q193 655 197 667T204 682Q206 683 403 683Q570 682 590 682T630 676Q702 659 752 597T803 431Q803 275 696 151T444 3L430 1L236 0H125H72Q48 0 41 2T33 11Q33 13 36 25Q40 41 44 43T67 46Q94 46 127 49Q141 52 146 61Q149 65 218 339T287 628ZM703 469Q703 507 692 537T666 584T629 613T590 629T555 636Q553 636 541 636T512 636T479 637H436Q392 637 386 627Q384 623 313 339T242 52Q242 48 253 48T330 47Q335 47 349 47T373 46Q499 46 581 128Q617 164 640 212T683 339T703 469Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3739,0)&quot;&gt;&lt;path d=&quot;M107 637Q73 637 71 641Q70 643 70 649Q70 673 81 682Q83 683 98 683Q139 681 234 681Q268 681 297 681T342 682T362 682Q378 682 378 672Q378 670 376 658Q371 641 366 638H364Q362 638 359 638T352 638T343 637T334 637Q295 636 284 634T266 623Q265 621 238 518T184 302T154 169Q152 155 152 140Q152 86 183 55T269 24Q336 24 403 69T501 205L552 406Q599 598 599 606Q599 633 535 637Q511 637 511 648Q511 650 513 660Q517 676 519 679T529 683Q532 683 561 682T645 680Q696 680 723 681T752 682Q767 682 767 672Q767 650 759 642Q756 637 737 637Q666 633 648 597Q646 592 598 404Q557 235 548 205Q515 105 433 42T263 -22Q171 -22 116 34T60 167V183Q60 201 115 421Q164 622 164 628Q164 635 107 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4506,0)&quot;&gt;&lt;path d=&quot;M107 637Q73 637 71 641Q70 643 70 649Q70 673 81 682Q83 683 98 683Q139 681 234 681Q268 681 297 681T342 682T362 682Q378 682 378 672Q378 670 376 658Q371 641 366 638H364Q362 638 359 638T352 638T343 637T334 637Q295 636 284 634T266 623Q265 621 238 518T184 302T154 169Q152 155 152 140Q152 86 183 55T269 24Q336 24 403 69T501 205L552 406Q599 598 599 606Q599 633 535 637Q511 637 511 648Q511 650 513 660Q517 676 519 679T529 683Q532 683 561 682T645 680Q696 680 723 681T752 682Q767 682 767 672Q767 650 759 642Q756 637 737 637Q666 633 648 597Q646 592 598 404Q557 235 548 205Q515 105 433 42T263 -22Q171 -22 116 34T60 167V183Q60 201 115 421Q164 622 164 628Q164 635 107 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5274,0)&quot;&gt;&lt;path d=&quot;M107 637Q73 637 71 641Q70 643 70 649Q70 673 81 682Q83 683 98 683Q139 681 234 681Q268 681 297 681T342 682T362 682Q378 682 378 672Q378 670 376 658Q371 641 366 638H364Q362 638 359 638T352 638T343 637T334 637Q295 636 284 634T266 623Q265 621 238 518T184 302T154 169Q152 155 152 140Q152 86 183 55T269 24Q336 24 403 69T501 205L552 406Q599 598 599 606Q599 633 535 637Q511 637 511 648Q511 650 513 660Q517 676 519 679T529 683Q532 683 561 682T645 680Q696 680 723 681T752 682Q767 682 767 672Q767 650 759 642Q756 637 737 637Q666 633 648 597Q646 592 598 404Q557 235 548 205Q515 105 433 42T263 -22Q171 -22 116 34T60 167V183Q60 201 115 421Q164 622 164 628Q164 635 107 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6041,0)&quot;&gt;&lt;path d=&quot;M107 637Q73 637 71 641Q70 643 70 649Q70 673 81 682Q83 683 98 683Q139 681 234 681Q268 681 297 681T342 682T362 682Q378 682 378 672Q378 670 376 658Q371 641 366 638H364Q362 638 359 638T352 638T343 637T334 637Q295 636 284 634T266 623Q265 621 238 518T184 302T154 169Q152 155 152 140Q152 86 183 55T269 24Q336 24 403 69T501 205L552 406Q599 598 599 606Q599 633 535 637Q511 637 511 648Q511 650 513 660Q517 676 519 679T529 683Q532 683 561 682T645 680Q696 680 723 681T752 682Q767 682 767 672Q767 650 759 642Q756 637 737 637Q666 633 648 597Q646 592 598 404Q557 235 548 205Q515 105 433 42T263 -22Q171 -22 116 34T60 167V183Q60 201 115 421Q164 622 164 628Q164 635 107 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6809,0)&quot;&gt;&lt;path d=&quot;M287 628Q287 635 230 637Q207 637 200 638T193 647Q193 655 197 667T204 682Q206 683 403 683Q570 682 590 682T630 676Q702 659 752 597T803 431Q803 275 696 151T444 3L430 1L236 0H125H72Q48 0 41 2T33 11Q33 13 36 25Q40 41 44 43T67 46Q94 46 127 49Q141 52 146 61Q149 65 218 339T287 628ZM703 469Q703 507 692 537T666 584T629 613T590 629T555 636Q553 636 541 636T512 636T479 637H436Q392 637 386 627Q384 623 313 339T242 52Q242 48 253 48T330 47Q335 47 349 47T373 46Q499 46 581 128Q617 164 640 212T683 339T703 469Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7637,0)&quot;&gt;&lt;path d=&quot;M287 628Q287 635 230 637Q207 637 200 638T193 647Q193 655 197 667T204 682Q206 683 403 683Q570 682 590 682T630 676Q702 659 752 597T803 431Q803 275 696 151T444 3L430 1L236 0H125H72Q48 0 41 2T33 11Q33 13 36 25Q40 41 44 43T67 46Q94 46 127 49Q141 52 146 61Q149 65 218 339T287 628ZM703 469Q703 507 692 537T666 584T629 613T590 629T555 636Q553 636 541 636T512 636T479 637H436Q392 637 386 627Q384 623 313 339T242 52Q242 48 253 48T330 47Q335 47 349 47T373 46Q499 46 581 128Q617 164 640 212T683 339T703 469Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8466,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, he first enters a valley&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;units deep. Then he climbs out an up onto a mountain&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;units high. Finally, he returns to sea level and ends his hike.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Function Description&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Complete the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;countingValleys&lt;/span&gt;&amp;nbsp;function in the editor below. It must return an integer that denotes the number of valleys Gary traversed.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
countingValleys has the following parameter(s):&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;n&lt;/span&gt;: the number of steps Gary takes&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;s&lt;/span&gt;: a string describing his path&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains an integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the number of steps in Gary&#39;s hike.&lt;br /&gt;The second line contains a single string&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 469.5 721.6&quot; width=&quot;1.09ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;characters that describe his path.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -1006.6 5224 1223.9&quot; width=&quot;12.133ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2712,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3769,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,393)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 5192.1 1223.9&quot; width=&quot;12.059ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(469,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(748,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1093,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1649,0)&quot;&gt;&lt;path d=&quot;M84 250Q84 372 166 450T360 539Q361 539 377 539T419 540T469 540H568Q583 532 583 520Q583 511 570 501L466 500Q355 499 329 494Q280 482 242 458T183 409T147 354T129 306T124 272V270H568Q583 262 583 250T568 230H124V228Q124 207 134 177T167 112T231 48T328 7Q355 1 466 0H570Q583 -10 583 -20Q583 -32 568 -40H471Q464 -40 446 -40T417 -41Q262 -41 172 45Q84 127 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2595,0)&quot;&gt;&lt;path d=&quot;M434 -231Q434 -244 428 -250H410Q281 -250 230 -184Q225 -177 222 -172T217 -161T213 -148T211 -133T210 -111T209 -84T209 -47T209 0Q209 21 209 53Q208 142 204 153Q203 154 203 155Q189 191 153 211T82 231Q71 231 68 234T65 250T68 266T82 269Q116 269 152 289T203 345Q208 356 208 377T209 529V579Q209 634 215 656T244 698Q270 724 324 740Q361 748 377 749Q379 749 390 749T408 750H428Q434 744 434 732Q434 719 431 716Q429 713 415 713Q362 710 332 689T296 647Q291 634 291 499V417Q291 370 288 353T271 314Q240 271 184 255L170 250L184 245Q202 239 220 230T262 196T290 137Q291 131 291 1Q291 -134 296 -147Q306 -174 339 -192T415 -213Q429 -213 431 -216Q434 -219 434 -231Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3095,0)&quot;&gt;&lt;path d=&quot;M107 637Q73 637 71 641Q70 643 70 649Q70 673 81 682Q83 683 98 683Q139 681 234 681Q268 681 297 681T342 682T362 682Q378 682 378 672Q378 670 376 658Q371 641 366 638H364Q362 638 359 638T352 638T343 637T334 637Q295 636 284 634T266 623Q265 621 238 518T184 302T154 169Q152 155 152 140Q152 86 183 55T269 24Q336 24 403 69T501 205L552 406Q599 598 599 606Q599 633 535 637Q511 637 511 648Q511 650 513 660Q517 676 519 679T529 683Q532 683 561 682T645 680Q696 680 723 681T752 682Q767 682 767 672Q767 650 759 642Q756 637 737 637Q666 633 648 597Q646 592 598 404Q557 235 548 205Q515 105 433 42T263 -22Q171 -22 116 34T60 167V183Q60 201 115 421Q164 622 164 628Q164 635 107 637Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3863,0)&quot;&gt;&lt;path d=&quot;M287 628Q287 635 230 637Q207 637 200 638T193 647Q193 655 197 667T204 682Q206 683 403 683Q570 682 590 682T630 676Q702 659 752 597T803 431Q803 275 696 151T444 3L430 1L236 0H125H72Q48 0 41 2T33 11Q33 13 36 25Q40 41 44 43T67 46Q94 46 127 49Q141 52 146 61Q149 65 218 339T287 628ZM703 469Q703 507 692 537T666 584T629 613T590 629T555 636Q553 636 541 636T512 636T479 637H436Q392 637 386 627Q384 623 313 339T242 52Q242 48 253 48T330 47Q335 47 349 47T373 46Q499 46 581 128Q617 164 640 212T683 339T703 469Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4691,0)&quot;&gt;&lt;path d=&quot;M65 731Q65 745 68 747T88 750Q171 750 216 725T279 670Q288 649 289 635T291 501Q292 362 293 357Q306 312 345 291T417 269Q428 269 431 266T434 250T431 234T417 231Q380 231 345 210T298 157Q293 143 292 121T291 -28V-79Q291 -134 285 -156T256 -198Q202 -250 89 -250Q71 -250 68 -247T65 -230Q65 -224 65 -223T66 -218T69 -214T77 -213Q91 -213 108 -210T146 -200T183 -177T207 -139Q208 -134 209 3L210 139Q223 196 280 230Q315 247 330 250Q305 257 280 270Q225 304 212 352L210 362L209 498Q208 635 207 640Q195 680 154 696T77 713Q68 713 67 716T65 731Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Print a single integer that denotes the number of valleys Gary walked through during his hike.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;8
UDDDUDUU
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;1
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
If we represent&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;_&lt;/code&gt;&amp;nbsp;as sea level, a step up as&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;/&lt;/code&gt;, and a step down as&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;\&lt;/code&gt;, Gary&#39;s hike can be drawn as:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;_/\      _
   \    /
    \/\/&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
He enters and leaves one valley.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#!/bin/python3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;math
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;os
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;random
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;re
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys

&lt;span style=&quot;color: grey;&quot;&gt;# Complete the countingValleys function below.&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;countingValleys&lt;/span&gt;(n&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;s):
    d_count = u_count = no_of_vallyes = &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;i = &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;while &lt;/span&gt;n &amp;gt; i:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;s[i] == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;D&#39;&lt;/span&gt;:
            d_count += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
            u_count += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;        &lt;/span&gt;i += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;while &lt;/span&gt;d_count != u_count:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;s[i] == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;D&#39;&lt;/span&gt;:
                d_count += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;            &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
                u_count += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;            &lt;/span&gt;i += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;s[i-&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;] == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;U&#39;&lt;/span&gt;:
            no_of_vallyes += &lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;no_of_vallyes



&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    fptr = &lt;span style=&quot;color: #8888c6;&quot;&gt;open&lt;/span&gt;(os.environ[&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;OUTPUT_PATH&#39;&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;w&#39;&lt;/span&gt;)

    n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())

    s = &lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;()

    result = countingValleys(n&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;s)

    fptr.write(&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(result) + &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;)

    fptr.close()&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/4724735908593742572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/counting-valleys-hackerrank-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4724735908593742572'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/4724735908593742572'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/counting-valleys-hackerrank-solution.html' title='Counting Valleys - Hackerrank Solution (Python) Code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-1307852504591716263</id><published>2020-05-03T01:13:00.001+05:30</published><updated>2020-05-03T01:13:35.217+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Drawing Book - Hacker Rank Problem Solution (Python) Code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Problem&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Brie’s Drawing teacher asks her class to open their books to a page number. Brie can either start turning pages from the front of the book or from the back of the book. She always turns pages one at a time. When she opens the book, page&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is always on the right side:&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;image&quot; src=&quot;https://s3.amazonaws.com/hr-challenge-images/0/1481920803-d2b54f38f0-book.png&quot; style=&quot;border: 0px none; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 15px 0px 0px; outline: 0px; padding: 15px; vertical-align: baseline;&quot; title=&quot;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
When she flips page&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, she sees pages&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Each page except the last page will always be printed on both sides. The last page may only be printed on the front, given the length of the book. If the book is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;pages long, and she wants to turn to page&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;-38.5 -576.1 542 865.1&quot; width=&quot;1.259ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, what is the minimum number of pages she will turn? She can start at the beginning or the end of the book.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Given&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;-38.5 -576.1 542 865.1&quot; width=&quot;1.259ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, find and print the minimum number of pages Brie must turn in order to arrive at page&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;-38.5 -576.1 542 865.1&quot; width=&quot;1.259ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Function Description&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Complete the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;pageCount&lt;/span&gt;&amp;nbsp;function in the editor below. It should return the minimum number of pages Brie must turn.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
pageCount has the following parameter(s):&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;n&lt;/span&gt;: the number of pages in the book&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;p&lt;/span&gt;: the page number to turn to&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains an integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the number of pages in the book.&lt;br /&gt;The second line contains an integer,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;-38.5 -576.1 542 865.1&quot; width=&quot;1.259ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the page that Brie&#39;s teacher wants her to turn to.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -1006.6 5224 1223.9&quot; width=&quot;12.133ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2712,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3769,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,393)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 4272.6 1080.4&quot; width=&quot;9.924ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2615,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3672,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Print an integer denoting the minimum number of pages Brie must turn to get to page&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;-38.5 -576.1 542 865.1&quot; width=&quot;1.259ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M23 287Q24 290 25 295T30 317T40 348T55 381T75 411T101 433T134 442Q209 442 230 378L240 387Q302 442 358 442Q423 442 460 395T497 281Q497 173 421 82T249 -10Q227 -10 210 -4Q199 1 187 11T168 28L161 36Q160 35 139 -51T118 -138Q118 -144 126 -145T163 -148H188Q194 -155 194 -157T191 -175Q188 -187 185 -190T172 -194Q170 -194 161 -194T127 -193T65 -192Q-5 -192 -24 -194H-32Q-39 -187 -39 -183Q-37 -156 -26 -148H-6Q28 -147 33 -136Q36 -130 94 103T155 350Q156 355 156 364Q156 405 131 405Q109 405 94 377T71 316T59 280Q57 278 43 278H29Q23 284 23 287ZM178 102Q200 26 252 26Q282 26 310 49T356 107Q374 141 392 215T411 325V331Q411 405 350 405Q339 405 328 402T306 393T286 380T269 365T254 350T243 336T235 326L232 322Q232 321 229 308T218 264T204 212Q178 106 178 102Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;6&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
If Brie starts turning from page&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, she only needs to turn&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;page:&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;Untitled Diagram(6).png&quot; src=&quot;https://s3.amazonaws.com/hr-challenge-images/22564/1467398713-1decf68d06-UntitledDiagram6.png&quot; style=&quot;border: 0px none; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 15px 0px 0px; outline: 0px; padding: 15px; vertical-align: baseline;&quot; title=&quot;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
If Brie starts turning from page&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, she needs to turn&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;pages:&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;Untitled Diagram(3).png&quot; src=&quot;https://s3.amazonaws.com/hr-challenge-images/22564/1467397150-52d0a8213b-UntitledDiagram3.png&quot; style=&quot;border: 0px none; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 15px 0px 0px; outline: 0px; padding: 15px; vertical-align: baseline;&quot; title=&quot;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Because we want to print the minumum number of page turns, we print&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;as our answer.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;5&lt;/span&gt;
&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;4&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
If Brie starts turning from page&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, she needs to turn&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;pages:&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;Untitled Diagram(4).png&quot; src=&quot;https://s3.amazonaws.com/hr-challenge-images/22564/1467398281-32b69f6fa9-UntitledDiagram4.png&quot; style=&quot;border: 0px none; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 15px 0px 0px; outline: 0px; padding: 15px; vertical-align: baseline;&quot; title=&quot;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
If Brie starts turning from page&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, she doesn&#39;t need to turn any pages:&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;Untitled Diagram(5).png&quot; src=&quot;https://s3.amazonaws.com/hr-challenge-images/22564/1467398392-5d9ac72e45-UntitledDiagram5.png&quot; style=&quot;border: 0px none; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 15px 0px 0px; outline: 0px; padding: 15px; vertical-align: baseline;&quot; title=&quot;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Because we want to print the minimum number of page turns, we print&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;as our answer.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Python 3 - Problem Solution Code&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#!/bin/python3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;os
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys

&lt;span style=&quot;color: grey;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Complete the pageCount function below.&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;pageCount&lt;/span&gt;(n&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;p):
    turns =p//&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;p &amp;lt;= n//&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;turns
    total_turns = n//&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;total_turns-turns
    &lt;span style=&quot;color: grey;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;    # Write your code here.&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;    #&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    fptr = &lt;span style=&quot;color: #8888c6;&quot;&gt;open&lt;/span&gt;(os.environ[&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;OUTPUT_PATH&#39;&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;w&#39;&lt;/span&gt;)

    n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())

    p = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())

    result = pageCount(n&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;p)

    fptr.write(&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(result) + &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;)

    fptr.close()&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/1307852504591716263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/drawing-book-hacker-rank-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/1307852504591716263'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/1307852504591716263'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/drawing-book-hacker-rank-problem.html' title='Drawing Book - Hacker Rank Problem Solution (Python) Code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-6485596734952670615</id><published>2020-05-03T00:27:00.001+05:30</published><updated>2020-05-03T00:27:59.570+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Sock Merchant - Hacker Rank Problem Solution (Python) Code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Problem&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
John works at a clothing store. He has a large pile of socks that he must pair by color for sale. Given an array of integers representing the color of each sock, determine how many pairs of socks with matching colors there are.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
For example, there are&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2435.1 936.9&quot; width=&quot;5.656ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(878,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1934,0)&quot;&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;socks with colors&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 9046.6 1223.9&quot; width=&quot;21.011ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(529,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1258,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2315,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2593,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3094,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3539,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4039,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4484,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4985,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5430,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5931,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6376,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6876,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7321,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7822,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8267,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8768,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. There is one pair of color&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and one of color&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. There are three odd socks left, one of each color. The number of pairs is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Function Description&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Complete the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sockMerchant&lt;/span&gt;&amp;nbsp;function in the editor below. It must return an integer representing the number of matching pairs of socks that are available.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
sockMerchant has the following parameter(s):&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;n&lt;/span&gt;: the number of socks in the pile&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ar&lt;/span&gt;: the colors of each sock&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains an integer&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the number of socks represented in&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 981 721.6&quot; width=&quot;2.278ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(529,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;br /&gt;The second line contains&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;space-separated integers describing the colors&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 1883.5 1223.9&quot; width=&quot;4.375ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(529,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(981,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1259,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1605,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;of the socks in the pile.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 5270.6 1008.6&quot; width=&quot;12.241ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2712,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3769,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 6553.6 1223.9&quot; width=&quot;15.221ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2364,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2815,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3094,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3439,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3995,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5052,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;where&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 4114.6 1008.6&quot; width=&quot;9.557ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2457,0)&quot;&gt;&lt;path d=&quot;M694 -11T694 -19T688 -33T678 -40Q671 -40 524 29T234 166L90 235Q83 240 83 250Q83 261 91 266Q664 540 678 540Q681 540 687 534T694 519T687 505Q686 504 417 376L151 250L417 124Q686 -4 687 -5Q694 -11 694 -19Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3514,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Return the total number of&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;matching pairs&lt;/span&gt;&amp;nbsp;of socks that John can sell.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;9
10 20 20 10 10 30 50 10 20
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;3
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;sock.png&quot; src=&quot;https://s3.amazonaws.com/hr-challenge-images/25168/1474122392-c7b9097430-sock.png&quot; style=&quot;border: 0px none; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 15px 0px 0px; outline: 0px; padding: 15px; vertical-align: baseline;&quot; title=&quot;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
John can match three pairs of socks.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Python 3 - Code&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#!/bin/python3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;math
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;os
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;random
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;re
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys

&lt;span style=&quot;color: grey;&quot;&gt;# Complete the sockMerchant function below.&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;sockMerchant&lt;/span&gt;(&lt;span style=&quot;color: #72737a;&quot;&gt;n&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;ar):
    pairs = &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;while &lt;/span&gt;ar:
        single_color = ar[&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;]
        no_of_socks = ar.count(single_color)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;no_of_socks &amp;gt;= &lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;:
            pairs += no_of_socks//&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;while &lt;/span&gt;single_color &lt;span style=&quot;color: #cc7832;&quot;&gt;in &lt;/span&gt;ar:
            ar.remove(single_color)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;pairs

&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    fptr = &lt;span style=&quot;color: #8888c6;&quot;&gt;open&lt;/span&gt;(os.environ[&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;OUTPUT_PATH&#39;&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;w&#39;&lt;/span&gt;)

    n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;())

    ar = &lt;span style=&quot;color: #8888c6;&quot;&gt;list&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;map&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().rstrip().split()))

    result = sockMerchant(n&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;ar)

    fptr.write(&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(result) + &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;)

    fptr.close()&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/6485596734952670615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/sock-merchant-hacker-rank-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/6485596734952670615'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/6485596734952670615'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/sock-merchant-hacker-rank-problem.html' title='Sock Merchant - Hacker Rank Problem Solution (Python) Code'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-5718126910396390137</id><published>2020-05-03T00:03:00.000+05:30</published><updated>2020-05-03T00:03:01.935+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Bon Appétit - HackerRank Problem Solution (Python) </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Anna and Brian are sharing a meal at a restuarant and they agree to split the bill equally. Brian wants to order something that Anna is allergic to though, and they agree that Anna won&#39;t pay for that item. Brian gets the check and calculates Anna&#39;s portion. You must determine if his calculation is correct.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
For example, assume the bill has the following prices:&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 5654.9 1223.9&quot; width=&quot;13.134ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(775,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1073,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1649,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2706,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2984,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3485,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3930,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4430,0)&quot;&gt;&lt;path d=&quot;M78 35T78 60T94 103T137 121Q165 121 187 96T210 8Q210 -27 201 -60T180 -117T154 -158T130 -185T117 -194Q113 -194 104 -185T95 -172Q95 -168 106 -156T131 -126T157 -76T173 -3V9L172 8Q170 7 167 6T161 3T152 1T140 0Q113 0 96 17Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4875,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5376,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Anna declines to eat item&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4285.1 1223.9&quot; width=&quot;9.952ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(799,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1855,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2285,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2630,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2929,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3227,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3506,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4006,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;which costs&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. If Brian calculates the bill correctly, Anna will pay&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 5838.5 1223.9&quot; width=&quot;13.56ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M94 250Q94 319 104 381T127 488T164 576T202 643T244 695T277 729T302 750H315H319Q333 750 333 741Q333 738 316 720T275 667T226 581T184 443T167 250T184 58T225 -81T274 -167T316 -220T333 -241Q333 -250 318 -250H315H302L274 -226Q180 -141 137 -14T94 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(389,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1112,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2112,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2613,0)&quot;&gt;&lt;path d=&quot;M60 749L64 750Q69 750 74 750H86L114 726Q208 641 251 514T294 250Q294 182 284 119T261 12T224 -76T186 -143T145 -194T113 -227T90 -246Q87 -249 86 -250H74Q66 -250 63 -250T58 -247T55 -238Q56 -237 66 -225Q221 -64 221 250T66 725Q56 737 55 738Q55 746 60 749Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3002,0)&quot;&gt;&lt;path d=&quot;M423 750Q432 750 438 744T444 730Q444 725 271 248T92 -240Q85 -250 75 -250Q68 -250 62 -245T56 -231Q56 -221 230 257T407 740Q411 750 423 750Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3503,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4281,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5337,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. If he includes the cost of&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 2429.5 1223.9&quot; width=&quot;5.643ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(775,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1073,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1372,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1650,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2151,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, he will calculate&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 7561.9 1223.9&quot; width=&quot;17.563ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M94 250Q94 319 104 381T127 488T164 576T202 643T244 695T277 729T302 750H315H319Q333 750 333 741Q333 738 316 720T275 667T226 581T184 443T167 250T184 58T225 -81T274 -167T316 -220T333 -241Q333 -250 318 -250H315H302L274 -226Q180 -141 137 -14T94 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(389,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1112,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2112,0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2835,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3836,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4336,0)&quot;&gt;&lt;path d=&quot;M60 749L64 750Q69 750 74 750H86L114 726Q208 641 251 514T294 250Q294 182 284 119T261 12T224 -76T186 -143T145 -194T113 -227T90 -246Q87 -249 86 -250H74Q66 -250 63 -250T58 -247T55 -238Q56 -237 66 -225Q221 -64 221 250T66 725Q56 737 55 738Q55 746 60 749Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4726,0)&quot;&gt;&lt;path d=&quot;M423 750Q432 750 438 744T444 730Q444 725 271 248T92 -240Q85 -250 75 -250Q68 -250 62 -245T56 -231Q56 -221 230 257T407 740Q411 750 423 750Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5226,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6005,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7061,0)&quot;&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. In the second case, he should refund&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;to Anna.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Function Description&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Complete the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;bonAppetit&lt;/span&gt;&amp;nbsp;function in the editor below. It should print&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Bon Appetit&lt;/code&gt;&amp;nbsp;if the bill is fairly split. Otherwise, it should print the integer amount of money that Brian owes Anna.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
bonAppetit has the following parameter(s):&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;bill&lt;/span&gt;: an array of integers representing the cost of each item ordered&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;k&lt;/span&gt;: an integer representing the zero-based index of the item Anna doesn&#39;t eat&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;b&lt;/span&gt;: the amount of money that Anna contributed to the bill&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The first line contains two space-separated integers&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 521.5 936.9&quot; width=&quot;1.211ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the number of items ordered and the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;-based index of the item that Anna did not eat.&lt;br /&gt;The second line contains&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;1.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -576.1 600.5 721.6&quot; width=&quot;1.395ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;space-separated integers&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 2274.5 1223.9&quot; width=&quot;5.283ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(775,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1073,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1372,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1650,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1996,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;where&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 4114.6 1008.6&quot; width=&quot;9.557ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2457,0)&quot;&gt;&lt;path d=&quot;M694 -11T694 -19T688 -33T678 -40Q671 -40 524 29T234 166L90 235Q83 240 83 250Q83 261 91 266Q664 540 678 540Q681 540 687 534T694 519T687 505Q686 504 417 376L151 250L417 124Q686 -4 687 -5Q694 -11 694 -19Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3514,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;br /&gt;The third line contains an integer,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 429.5 936.9&quot; width=&quot;0.998ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, the amount of money that Brian charged Anna for her share of the bill.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -1006.6 5224 1223.9&quot; width=&quot;12.133ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2712,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3769,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,393)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 4290.6 1008.6&quot; width=&quot;9.965ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M121 647Q121 657 125 670T137 683Q138 683 209 688T282 694Q294 694 294 686Q294 679 244 477Q194 279 194 272Q213 282 223 291Q247 309 292 354T362 415Q402 442 438 442Q468 442 485 423T503 369Q503 344 496 327T477 302T456 291T438 288Q418 288 406 299T394 328Q394 353 410 369T442 390L458 393Q446 405 434 405H430Q398 402 367 380T294 316T228 255Q230 254 243 252T267 246T293 238T320 224T342 206T359 180T365 147Q365 130 360 106T354 66Q354 26 381 26Q429 26 459 145Q461 153 479 153H483Q499 153 499 144Q499 139 496 130Q455 -11 378 -11Q333 -11 305 15T277 90Q277 108 280 121T283 145Q283 167 269 183T234 206T200 217T182 220H180Q168 178 159 139T145 81T136 44T129 20T122 7T111 -2Q98 -11 83 -11Q66 -11 57 -1T48 16Q48 26 85 176T158 471L195 616Q196 629 188 632T149 637H144Q134 637 131 637T124 640T121 647Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2633,0)&quot;&gt;&lt;path d=&quot;M694 -11T694 -19T688 -33T678 -40Q671 -40 524 29T234 166L90 235Q83 240 83 250Q83 261 91 266Q664 540 678 540Q681 540 687 534T694 519T687 505Q686 504 417 376L151 250L417 124Q686 -4 687 -5Q694 -11 694 -19Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3690,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;3.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -1006.6 6898 1367.4&quot; width=&quot;16.021ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2264,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2609,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2908,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3206,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3485,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3830,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4386,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5443,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,393)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;6.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -2.671ex;&quot; viewbox=&quot;0 -1652.5 7368.3 2802.6&quot; width=&quot;17.113ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(778,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1834,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2541,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3598,0)&quot;&gt;&lt;g transform=&quot;translate(136,0)&quot;&gt;&lt;path d=&quot;M61 748Q64 750 489 750H913L954 640Q965 609 976 579T993 533T999 516H979L959 517Q936 579 886 621T777 682Q724 700 655 705T436 710H319Q183 710 183 709Q186 706 348 484T511 259Q517 250 513 244L490 216Q466 188 420 134T330 27L149 -187Q149 -188 362 -188Q388 -188 436 -188T506 -189Q679 -189 778 -162T936 -43Q946 -27 959 6H999L913 -249L489 -250Q65 -250 62 -248Q56 -246 56 -239Q56 -234 118 -161Q186 -81 245 -11L428 206Q428 207 242 462L57 717L56 728Q56 744 61 748Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(90,-890)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(244,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(794,0)&quot;&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(0,951)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(424,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(975,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5093,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5523,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5868,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6167,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6465,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6744,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7089,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;The amount of money due Anna will always be an integer&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
If Brian did not overcharge Anna, print&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Bon Appetit&lt;/code&gt;&amp;nbsp;on a new line; otherwise, print the difference (i.e.,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -1.005ex;&quot; viewbox=&quot;0 -791.3 6656.5 1223.9&quot; width=&quot;15.46ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,-150)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(306,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(714,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1088,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1407,0)&quot;&gt;&lt;path d=&quot;M311 43Q296 30 267 15T206 0Q143 0 105 45T66 160Q66 265 143 353T314 442Q361 442 401 394L404 398Q406 401 409 404T418 412T431 419T447 422Q461 422 470 413T480 394Q480 379 423 152T363 -80Q345 -134 286 -169T151 -205Q10 -205 10 -137Q10 -111 28 -91T74 -71Q89 -71 102 -80T116 -111Q116 -121 114 -130T107 -144T99 -154T92 -162L90 -164H91Q101 -167 151 -167Q189 -167 211 -155Q234 -144 254 -122T282 -75Q288 -56 298 -13Q311 35 311 43ZM384 328L380 339Q377 350 375 354T369 368T359 382T346 393T328 402T306 405Q262 405 221 352Q191 313 171 233T151 117Q151 38 213 38Q269 38 323 108L331 118L384 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1747,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2077,0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3199,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4200,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,-150)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(374,0)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(680,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(936,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1341,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1715,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;) that Brian must refund to Anna. This will always be an integer.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;4 1
3 10 2 9
12
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;5
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 0&lt;/span&gt;&lt;br /&gt;Anna didn&#39;t eat item&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4764.6 1223.9&quot; width=&quot;11.066ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(775,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1073,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1372,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1650,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2151,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2707,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3763,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, but she shared the rest of the items with Brian. The total cost of the shared items is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 6282.4 1008.6&quot; width=&quot;14.592ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(722,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1723,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2446,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3446,0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4225,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5281,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and, split in half, the cost per person is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 4290.9 1080.4&quot; width=&quot;9.966ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,-150)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(374,0)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(680,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(936,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1341,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1715,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2734,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3790,0)&quot;&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Brian charged her&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -1.005ex;&quot; viewbox=&quot;0 -791.3 5312.2 1223.9&quot; width=&quot;12.338ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,-150)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(306,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(714,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1088,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1407,0)&quot;&gt;&lt;path d=&quot;M311 43Q296 30 267 15T206 0Q143 0 105 45T66 160Q66 265 143 353T314 442Q361 442 401 394L404 398Q406 401 409 404T418 412T431 419T447 422Q461 422 470 413T480 394Q480 379 423 152T363 -80Q345 -134 286 -169T151 -205Q10 -205 10 -137Q10 -111 28 -91T74 -71Q89 -71 102 -80T116 -111Q116 -121 114 -130T107 -144T99 -154T92 -162L90 -164H91Q101 -167 151 -167Q189 -167 211 -155Q234 -144 254 -122T282 -75Q288 -56 298 -13Q311 35 311 43ZM384 328L380 339Q377 350 375 354T369 368T359 382T346 393T328 402T306 405Q262 405 221 352Q191 313 171 233T151 117Q151 38 213 38Q269 38 323 108L331 118L384 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1747,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2077,0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3254,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4311,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;for her portion of the bill. We print the amount Anna was overcharged,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -1.005ex;&quot; viewbox=&quot;0 -791.3 12549.5 1223.9&quot; width=&quot;29.147ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,-150)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(306,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(714,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1088,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1407,0)&quot;&gt;&lt;path d=&quot;M311 43Q296 30 267 15T206 0Q143 0 105 45T66 160Q66 265 143 353T314 442Q361 442 401 394L404 398Q406 401 409 404T418 412T431 419T447 422Q461 422 470 413T480 394Q480 379 423 152T363 -80Q345 -134 286 -169T151 -205Q10 -205 10 -137Q10 -111 28 -91T74 -71Q89 -71 102 -80T116 -111Q116 -121 114 -130T107 -144T99 -154T92 -162L90 -164H91Q101 -167 151 -167Q189 -167 211 -155Q234 -144 254 -122T282 -75Q288 -56 298 -13Q311 35 311 43ZM384 328L380 339Q377 350 375 354T369 368T359 382T346 393T328 402T306 405Q262 405 221 352Q191 313 171 233T151 117Q151 38 213 38Q269 38 323 108L331 118L384 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1747,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2077,0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3199,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4200,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,-150)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(374,0)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(680,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(936,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1341,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1715,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6934,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7990,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(9213,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(10214,0)&quot;&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(10992,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(12049,0)&quot;&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, on a new line.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 1&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;4 1
3 10 2 9
7
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 1&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Bon Appetit
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 1&lt;/span&gt;&lt;br /&gt;Anna didn&#39;t eat item&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.838ex;&quot; viewbox=&quot;0 -863.1 4764.6 1223.9&quot; width=&quot;11.066ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,0)&quot;&gt;&lt;path d=&quot;M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(775,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1073,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1372,0)&quot;&gt;&lt;path d=&quot;M118 -250V750H255V710H158V-210H255V-250H118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1650,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2151,0)&quot;&gt;&lt;path d=&quot;M22 710V750H159V-250H22V-210H119V710H22Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2707,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3763,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, but she shared the rest of the items with Brian. The total cost of the shared items is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 6282.4 1008.6&quot; width=&quot;14.592ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(722,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1723,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2446,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3446,0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4225,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5281,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and, split in half, the cost per person is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 4290.9 1080.4&quot; width=&quot;9.966ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,-150)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(374,0)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(680,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(936,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1341,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1715,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2734,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3790,0)&quot;&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Because&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-10-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.843ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -1.005ex;&quot; viewbox=&quot;0 -791.3 8602.1 1223.9&quot; width=&quot;19.979ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,-150)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(374,0)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(680,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(936,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 295 30 318T55 370T99 420T158 442Q204 442 227 417T250 358Q250 340 216 246T182 105Q182 62 196 45T238 27T291 44T328 78L339 95Q341 99 377 247Q407 367 413 387T427 416Q444 431 463 431Q480 431 488 421T496 402L420 84Q419 79 419 68Q419 43 426 35T447 26Q469 29 482 57T512 145Q514 153 532 153Q551 153 551 144Q550 139 549 130T540 98T523 55T498 17T462 -8Q454 -10 438 -10Q372 -10 347 46Q345 45 336 36T318 21T296 6T267 -6T233 -11Q189 -11 155 7Q103 38 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1341,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1715,0)&quot;&gt;&lt;path d=&quot;M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2734,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3790,0)&quot;&gt;&lt;path d=&quot;M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(429,-150)&quot;&gt;&lt;path d=&quot;M34 159Q34 268 120 355T306 442Q362 442 394 418T427 355Q427 326 408 306T360 285Q341 285 330 295T319 325T330 359T352 380T366 386H367Q367 388 361 392T340 400T306 404Q276 404 249 390Q228 381 206 359Q162 315 142 235T121 119Q121 73 147 50Q169 26 205 26H209Q321 26 394 111Q403 121 406 121Q410 121 419 112T429 98T420 83T391 55T346 25T282 0T202 -11Q127 -11 81 37T34 159Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(306,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(714,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1088,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1407,0)&quot;&gt;&lt;path d=&quot;M311 43Q296 30 267 15T206 0Q143 0 105 45T66 160Q66 265 143 353T314 442Q361 442 401 394L404 398Q406 401 409 404T418 412T431 419T447 422Q461 422 470 413T480 394Q480 379 423 152T363 -80Q345 -134 286 -169T151 -205Q10 -205 10 -137Q10 -111 28 -91T74 -71Q89 -71 102 -80T116 -111Q116 -121 114 -130T107 -144T99 -154T92 -162L90 -164H91Q101 -167 151 -167Q189 -167 211 -155Q234 -144 254 -122T282 -75Q288 -56 298 -13Q311 35 311 43ZM384 328L380 339Q377 350 375 354T369 368T359 382T346 393T328 402T306 405Q262 405 221 352Q191 313 171 233T151 117Q151 38 213 38Q269 38 323 108L331 118L384 328Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1747,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2077,0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7045,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8101,0)&quot;&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, we print&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;Bon Appetit&lt;/code&gt;&amp;nbsp;on a new line.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#!/bin/python3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;math
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;os
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;random
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;re
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys

&lt;span style=&quot;color: grey;&quot;&gt;# Complete the bonAppetit function below.&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;bonAppetit&lt;/span&gt;(bill&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;k&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;b):
    anna_share = bill.copy()
    &lt;span style=&quot;color: #cc7832;&quot;&gt;del &lt;/span&gt;anna_share[k]
    final_price = &lt;span style=&quot;color: #8888c6;&quot;&gt;sum&lt;/span&gt;(anna_share)//&lt;span style=&quot;color: #6897bb;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;final_price == b:
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;Bon Appetit&#39;&lt;/span&gt;)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
        &lt;span style=&quot;color: #8888c6;&quot;&gt;print&lt;/span&gt;(b-final_price)


&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    nk = &lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().rstrip().split()

    n = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(nk[&lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;])

    k = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(nk[&lt;span style=&quot;color: #6897bb;&quot;&gt;1&lt;/span&gt;])

    bill = &lt;span style=&quot;color: #8888c6;&quot;&gt;list&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;map&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().rstrip().split()))

    b = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().strip())

    bonAppetit(bill&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;k&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;b)&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/5718126910396390137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/bon-appetit-hackerrank-problem-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/5718126910396390137'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/5718126910396390137'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/bon-appetit-hackerrank-problem-solution.html' title='Bon Appétit - HackerRank Problem Solution (Python) '/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-841486572422017488.post-9051222311005488866</id><published>2020-05-02T23:36:00.000+05:30</published><updated>2020-05-02T23:36:34.650+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Haker Rank Solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Day of the Programmer  - HackerRank Solution (Python)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;challenge_problem_statement&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_problem_statement_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Marie invented a&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Time_machine&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;&quot;&gt;Time Machine&lt;/a&gt;&amp;nbsp;and wants to test it by time-traveling to visit Russia on the&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Day_of_the_Programmer&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;&quot;&gt;Day of the Programmer&lt;/a&gt;&amp;nbsp;(the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 2264.8 1152.1&quot; width=&quot;5.26ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1501,393)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(255,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;day of the year) during a year in the inclusive range from&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2002 936.9&quot; width=&quot;4.65ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;to&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2002 936.9&quot; width=&quot;4.65ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
From&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2002 936.9&quot; width=&quot;4.65ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;to&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2002 936.9&quot; width=&quot;4.65ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, Russia&#39;s official calendar was the&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Julian_calendar&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;&quot;&gt;Julian calendar&lt;/a&gt;; since&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2002 936.9&quot; width=&quot;4.65ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;they used the&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Gregorian_calendar&quot; style=&quot;background-color: transparent; border: 0px; color: #097bbf; font-family: var(--font-family-text); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;&quot;&gt;Gregorian calendar&lt;/a&gt;&amp;nbsp;system. The transition from the Julian to Gregorian calendar system occurred in&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2002 936.9&quot; width=&quot;4.65ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, when the next day after January&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -934.9 1688.6 1080.4&quot; width=&quot;3.922ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,393)&quot;&gt;&lt;path d=&quot;M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(331,0)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;was February&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 1764.3 1152.1&quot; width=&quot;4.098ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,404)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(255,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. This means that in&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-10-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2002 936.9&quot; width=&quot;4.65ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, February&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-11-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 1764.3 1152.1&quot; width=&quot;4.098ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,404)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(255,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;was the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-12-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 1895.8 1152.1&quot; width=&quot;4.403ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1001,393)&quot;&gt;&lt;path d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(424,0)&quot;&gt;&lt;path d=&quot;M366 683Q367 683 438 688T511 694Q523 694 523 686Q523 679 450 384T375 83T374 68Q374 26 402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487H491Q506 153 506 145Q506 140 503 129Q490 79 473 48T445 8T417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157Q33 205 53 255T101 341Q148 398 195 420T280 442Q336 442 364 400Q369 394 369 396Q370 400 396 505T424 616Q424 629 417 632T378 637H357Q351 643 351 645T353 664Q358 683 366 683ZM352 326Q329 405 277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q233 26 290 98L298 109L352 326Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;day of the year in Russia.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
In both calendar systems, February is the only month with a variable amount of days; it has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-13-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;days during a&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;leap year&lt;/span&gt;, and&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-14-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;days during all other years. In the Julian calendar, leap years are divisible by&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-15-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;; in the Gregorian calendar, leap years are either of the following:&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Divisible by&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-16-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1501.5 936.9&quot; width=&quot;3.487ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Divisible by&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-17-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;not&lt;/span&gt;&amp;nbsp;divisible by&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-18-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1501.5 936.9&quot; width=&quot;3.487ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Given a year,&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-19-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 497.5 865.1&quot; width=&quot;1.155ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, find the date of the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-20-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 2264.8 1152.1&quot; width=&quot;5.26ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1501,393)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(255,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;day of that year&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;according to the official Russian calendar during that year&lt;/span&gt;. Then print it in the format&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;dd.mm.yyyy&lt;/code&gt;, where&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;dd&lt;/code&gt;&amp;nbsp;is the two-digit day,&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;mm&lt;/code&gt;&amp;nbsp;is the two-digit month, and&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;yyyy&lt;/code&gt;&amp;nbsp;is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-21-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 497.5 865.1&quot; width=&quot;1.155ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
For example, the given&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-22-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 5281.1 1080.4&quot; width=&quot;12.266ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(497,0)&quot;&gt;&lt;path d=&quot;M39 168Q39 225 58 272T107 350T174 402T244 433T307 442H310Q355 442 388 420T421 355Q421 265 310 237Q261 224 176 223Q139 223 138 221Q138 219 132 186T125 128Q125 81 146 54T209 26T302 45T394 111Q403 121 406 121Q410 121 419 112T429 98T420 82T390 55T344 24T281 -1T205 -11Q126 -11 83 42T39 168ZM373 353Q367 405 305 405Q272 405 244 391T199 357T170 316T154 280T149 261Q149 260 169 260Q282 260 327 284T373 353Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(964,0)&quot;&gt;&lt;path d=&quot;M33 157Q33 258 109 349T280 441Q331 441 370 392Q386 422 416 422Q429 422 439 414T449 394Q449 381 412 234T374 68Q374 43 381 35T402 26Q411 27 422 35Q443 55 463 131Q469 151 473 152Q475 153 483 153H487Q506 153 506 144Q506 138 501 117T481 63T449 13Q436 0 417 -8Q409 -10 393 -10Q359 -10 336 5T306 36L300 51Q299 52 296 50Q294 48 292 46Q233 -10 172 -10Q117 -10 75 30T33 157ZM351 328Q351 334 346 350T323 385T277 405Q242 405 210 374T160 293Q131 214 119 129Q119 126 119 118T118 106Q118 61 136 44T179 26Q217 26 254 59T298 110Q300 114 325 217T351 328Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1493,0)&quot;&gt;&lt;path d=&quot;M21 287Q22 290 23 295T28 317T38 348T53 381T73 411T99 433T132 442Q161 442 183 430T214 408T225 388Q227 382 228 382T236 389Q284 441 347 441H350Q398 441 422 400Q430 381 430 363Q430 333 417 315T391 292T366 288Q346 288 334 299T322 328Q322 376 378 392Q356 405 342 405Q286 405 239 331Q229 315 224 298T190 165Q156 25 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 114 189T154 366Q154 405 128 405Q107 405 92 377T68 316T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2222,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3279,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-23-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2002 936.9&quot; width=&quot;4.65ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is divisible by&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-24-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 500.5 936.9&quot; width=&quot;1.162ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, so it is a leap year. The&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-25-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 2264.8 1152.1&quot; width=&quot;5.26ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1501,393)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(255,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;day of a leap year after&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-26-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2002 936.9&quot; width=&quot;4.65ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is September 12, so the answer is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-27-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -719.6 5255 865.1&quot; width=&quot;12.205ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M99 461Q99 470 99 474T104 487T120 498T151 502Q213 517 251 596Q264 622 283 622Q308 622 319 597V76H373H401Q428 76 439 69T450 38Q450 11 428 1H127Q104 10 104 38Q104 62 115 69T153 76H181H235V269Q235 461 234 461Q184 426 137 424H133Q124 424 119 425T109 431T99 447V461Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M52 462Q52 528 110 575T247 622H250Q343 622 407 565T472 421Q472 371 446 324T390 248T308 178Q307 177 275 151T214 101L185 77Q185 76 286 76H388V87Q388 105 397 114T430 123T463 114Q470 107 471 100T472 61V42Q472 24 468 16T450 1H75Q53 10 53 32V38V48Q53 57 63 67T127 122Q153 144 169 157L289 256Q388 345 388 419Q388 473 346 509T231 545H224Q176 545 146 499L144 494Q155 476 155 459Q154 459 155 455T154 444T148 430T136 417T114 408Q113 408 110 408T104 407Q80 407 66 422T52 462Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(525,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M193 70Q193 105 214 122T258 140Q291 140 311 120T332 70Q332 44 314 23T262 1Q234 1 214 18T193 70Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1051,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 305Q42 450 111 535T257 621Q335 621 390 562Q482 468 482 306Q482 174 418 82T262 -10T106 82T42 305ZM257 545Q209 545 168 481T126 320Q126 220 162 147Q204 65 262 65Q318 65 358 139T398 320V328Q395 411 364 470T284 543Q270 545 257 545Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1576,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M392 259Q333 210 236 210H233Q163 210 109 262Q46 325 46 411T99 550Q164 622 264 622Q293 622 319 615T376 587T428 532T464 440T479 304Q479 167 400 78T217 -11Q140 -11 105 22T70 101Q70 124 84 138T122 153Q150 153 162 137T174 101Q174 91 168 76Q179 65 216 65Q267 65 300 93Q322 109 339 130T366 173T380 210T388 242T392 259ZM388 389Q388 438 357 492T268 546T185 520Q129 479 129 415Q129 384 138 363Q145 349 156 334T195 302T255 285Q305 285 345 313T388 389Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2102,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M193 70Q193 105 214 122T258 140Q291 140 311 120T332 70Q332 44 314 23T262 1Q234 1 214 18T193 70Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(2627,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M99 461Q99 470 99 474T104 487T120 498T151 502Q213 517 251 596Q264 622 283 622Q308 622 319 597V76H373H401Q428 76 439 69T450 38Q450 11 428 1H127Q104 10 104 38Q104 62 115 69T153 76H181H235V269Q235 461 234 461Q184 426 137 424H133Q124 424 119 425T109 431T99 447V461Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3153,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M392 259Q333 210 236 210H233Q163 210 109 262Q46 325 46 411T99 550Q164 622 264 622Q293 622 319 615T376 587T428 532T464 440T479 304Q479 167 400 78T217 -11Q140 -11 105 22T70 101Q70 124 84 138T122 153Q150 153 162 137T174 101Q174 91 168 76Q179 65 216 65Q267 65 300 93Q322 109 339 130T366 173T380 210T388 242T392 259ZM388 389Q388 438 357 492T268 546T185 520Q129 479 129 415Q129 384 138 363Q145 349 156 334T195 302T255 285Q305 285 345 313T388 389Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(3678,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M58 460Q58 523 117 572T254 621Q290 621 298 620Q376 607 421 560T466 460Q466 441 460 424T443 393T421 370T397 352T374 340T357 332L350 330L356 328Q363 325 371 321T392 310T415 295T439 274T459 249T473 217T479 179Q479 102 418 46T262 -10T106 46T45 179Q45 202 52 222T70 257T96 284T123 305T148 319T167 328L174 330L170 332Q166 333 159 336T145 343Q104 362 81 393T58 460ZM382 458Q382 491 349 518T263 546Q215 546 179 521T142 458Q142 421 178 395T262 368Q315 368 348 396T382 458ZM396 178Q396 223 358 257T263 292Q206 292 167 258T128 178Q128 137 163 102T262 66Q324 66 360 101T396 178Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4204,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M235 1Q213 10 213 32V38V46Q213 65 230 73Q236 76 274 76H314V168H183L52 169Q37 175 33 182T29 205V218L30 244Q53 283 155 443T264 613Q276 623 298 623H323H363Q378 616 385 601V244H429H450Q474 244 484 237T495 206Q495 179 477 171Q471 168 429 168H385V76H425H442Q466 76 476 69T487 38Q487 10 465 1H235ZM314 244V554L117 245L215 244H314Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(4729,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Function Description&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Complete the&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;dayOfProgrammer&lt;/span&gt;&amp;nbsp;function in the editor below. It should return a string representing the date of the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-28-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 2264.8 1152.1&quot; width=&quot;5.26ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1501,393)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(255,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;day of the year given.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
dayOfProgrammer has the following parameter(s):&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;year&lt;/span&gt;: an integer&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_input_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_input_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Input Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_input_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
A single integer denoting year&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 497.5 865.1&quot; width=&quot;1.155ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_constraints&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_constraints_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Constraints&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_constraints_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: inherit; font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 2; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 7169.6 1080.4&quot; width=&quot;16.652ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(2279,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3336,0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4111,0)&quot;&gt;&lt;path d=&quot;M674 636Q682 636 688 630T694 615T687 601Q686 600 417 472L151 346L399 228Q687 92 691 87Q694 81 694 76Q694 58 676 56H670L382 192Q92 329 90 331Q83 336 83 348Q84 359 96 365Q104 369 382 500T665 634Q669 636 674 636ZM84 -118Q84 -108 99 -98H678Q694 -104 694 -118Q694 -130 679 -138H98Q84 -131 84 -118Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5167,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_output_format&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_output_format_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Output Format&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_output_format_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Print the full date of&amp;nbsp;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Day of the Programmer&lt;/span&gt;&amp;nbsp;during year&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 497.5 865.1&quot; width=&quot;1.155ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;in the format&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;dd.mm.yyyy&lt;/code&gt;, where&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;dd&lt;/code&gt;&amp;nbsp;is the two-digit day,&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;mm&lt;/code&gt;&amp;nbsp;is the two-digit month, and&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;yyyy&lt;/code&gt;&amp;nbsp;is&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.009ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -576.1 497.5 865.1&quot; width=&quot;1.155ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2017&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;13.09.2017&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
In the year&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 3833.6 1080.4&quot; width=&quot;8.904ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(775,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1831,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;, January has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;days, February has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;days, March has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;days, April has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;days, May has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;days, June has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;days, July has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;days, and August has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-9-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;days. When we sum the total number of days in the first eight months, we get&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-10-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 19404.2 1008.6&quot; width=&quot;45.068ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1223,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2223,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M70 417T70 494T124 618T248 666Q319 666 374 624T429 515Q429 485 418 459T392 417T361 389T335 371T324 363L338 354Q352 344 366 334T382 323Q457 264 457 174Q457 95 399 37T249 -22Q159 -22 101 29T43 155Q43 263 172 335L154 348Q133 361 127 368Q70 417 70 494ZM286 386L292 390Q298 394 301 396T311 403T323 413T334 425T345 438T355 454T364 471T369 491T371 513Q371 556 342 586T275 624Q268 625 242 625Q201 625 165 599T128 534Q128 511 141 492T167 463T217 431Q224 426 228 424L286 386ZM250 21Q308 21 350 55T392 137Q392 154 387 169T375 194T353 216T330 234T301 253T274 270Q260 279 244 289T218 306L210 311Q204 311 181 294T133 239T107 157Q107 98 150 60T250 21Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3447,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4447,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5671,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6671,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7895,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8895,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(10119,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(11119,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(12342,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(13343,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(14566,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(15567,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(16846,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(17902,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Day of the Programmer is the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-11-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 2264.8 1152.1&quot; width=&quot;5.26ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1501,393)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(255,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;day, so then calculate&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-12-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 6561 1008.6&quot; width=&quot;15.239ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1723,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2724,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4503,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5559,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;to determine that it falls on day&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-13-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;of the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-14-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 1263.8 1152.1&quot; width=&quot;2.935ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(500,393)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(255,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;month (September). We then print the full date in the specified format, which is&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;13.09.2017&lt;/code&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2016&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;12.09.2016&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Year&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-1-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.509ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.671ex;&quot; viewbox=&quot;0 -791.3 3833.6 1080.4&quot; width=&quot;8.904ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(775,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1831,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;is a leap year, so February has&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-2-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;days but all the other months have the same number of days as in&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-3-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 2002 936.9&quot; width=&quot;4.65ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M55 458Q56 460 72 567L88 674Q88 676 108 676H128V672Q128 662 143 655T195 646T364 644H485V605L417 512Q408 500 387 472T360 435T339 403T319 367T305 330T292 284T284 230T278 162T275 80Q275 66 275 52T274 28V19Q270 2 255 -10T221 -22Q210 -22 200 -19T179 0T168 40Q168 198 265 368Q285 400 349 489L395 552H302Q128 552 119 546Q113 543 108 522T98 479L95 458V455H55V458Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1501,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. When we sum the total number of days in the first eight months, we get&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-4-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 19404.2 1008.6&quot; width=&quot;45.068ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1223,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2223,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3447,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4447,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5671,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(6671,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(7895,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(8895,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(10119,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(11119,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(12342,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(13343,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(14566,0)&quot;&gt;&lt;path d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(15567,0)&quot;&gt;&lt;path d=&quot;M127 463Q100 463 85 480T69 524Q69 579 117 622T233 665Q268 665 277 664Q351 652 390 611T430 522Q430 470 396 421T302 350L299 348Q299 347 308 345T337 336T375 315Q457 262 457 175Q457 96 395 37T238 -22Q158 -22 100 21T42 130Q42 158 60 175T105 193Q133 193 151 175T169 130Q169 119 166 110T159 94T148 82T136 74T126 70T118 67L114 66Q165 21 238 21Q293 21 321 74Q338 107 338 175V195Q338 290 274 322Q259 328 213 329L171 330L168 332Q166 335 166 348Q166 366 174 366Q202 366 232 371Q266 376 294 413T322 525V533Q322 590 287 612Q265 626 240 626Q208 626 181 615T143 592T132 580H135Q138 579 143 578T153 573T165 566T175 555T183 540T186 520Q186 498 172 481T127 463Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(16846,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(17902,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;. Day of the Programmer is the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-5-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 2264.8 1152.1&quot; width=&quot;5.26ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1501,393)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(255,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;day, so then calculate&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-6-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.343ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.505ex;&quot; viewbox=&quot;0 -791.3 6561 1008.6&quot; width=&quot;15.239ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M164 157Q164 133 148 117T109 101H102Q148 22 224 22Q294 22 326 82Q345 115 345 210Q345 313 318 349Q292 382 260 382H254Q176 382 136 314Q132 307 129 306T114 304Q97 304 95 310Q93 314 93 485V614Q93 664 98 664Q100 666 102 666Q103 666 123 658T178 642T253 634Q324 634 389 662Q397 666 402 666Q410 666 410 648V635Q328 538 205 538Q174 538 149 544L139 546V374Q158 388 169 396T205 412T256 420Q337 420 393 355T449 201Q449 109 385 44T229 -22Q148 -22 99 32T50 154Q50 178 61 192T84 210T107 214Q132 214 148 197T164 157Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M42 313Q42 476 123 571T303 666Q372 666 402 630T432 550Q432 525 418 510T379 495Q356 495 341 509T326 548Q326 592 373 601Q351 623 311 626Q240 626 194 566Q147 500 147 364L148 360Q153 366 156 373Q197 433 263 433H267Q313 433 348 414Q372 400 396 374T435 317Q456 268 456 210V192Q456 169 451 149Q440 90 387 34T253 -22Q225 -22 199 -14T143 16T92 75T56 172T42 313ZM257 397Q227 397 205 380T171 335T154 278T148 216Q148 133 160 97T198 39Q222 21 251 21Q302 21 329 59Q342 77 347 104T352 209Q352 289 347 316T329 361Q302 397 257 397Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(1723,0)&quot;&gt;&lt;path d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(2724,0)&quot;&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(1001,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(4503,0)&quot;&gt;&lt;path d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;g transform=&quot;translate(5559,0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;to determine that it falls on day&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-7-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.176ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -791.3 1001 936.9&quot; width=&quot;2.325ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z&quot; stroke-width=&quot;1&quot; transform=&quot;translate(500,0)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;of the&amp;nbsp;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-8-Frame&quot; style=&quot;border: 0px; direction: ltr; display: inline-block; float: none; font-family: inherit; font-stretch: inherit; font-variant: inherit; line-height: normal; margin: 0px; max-height: none; max-width: none; min-height: 0px; min-width: 0px; outline: 0px; overflow-wrap: normal; padding: 0px; vertical-align: baseline; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;svg focusable=&quot;false&quot; height=&quot;2.676ex&quot; role=&quot;img&quot; style=&quot;vertical-align: -0.338ex;&quot; viewbox=&quot;0 -1006.6 1263.8 1152.1&quot; width=&quot;2.935ex&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;&lt;g fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; stroke=&quot;currentColor&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;path d=&quot;M352 287Q304 211 232 211Q154 211 104 270T44 396Q42 412 42 436V444Q42 537 111 606Q171 666 243 666Q245 666 249 666T257 665H261Q273 665 286 663T323 651T370 619T413 560Q456 472 456 334Q456 194 396 97Q361 41 312 10T208 -22Q147 -22 108 7T68 93T121 149Q143 149 158 135T173 96Q173 78 164 65T148 49T135 44L131 43Q131 41 138 37T164 27T206 22H212Q272 22 313 86Q352 142 352 280V287ZM244 248Q292 248 321 297T351 430Q351 508 343 542Q341 552 337 562T323 588T293 615T246 625Q208 625 181 598Q160 576 154 546T147 441Q147 358 152 329T172 282Q197 248 244 248Z&quot; stroke-width=&quot;1&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(500,393)&quot;&gt;&lt;path d=&quot;M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;g transform=&quot;translate(255,0)&quot;&gt;&lt;path d=&quot;M137 683Q138 683 209 688T282 694Q294 694 294 685Q294 674 258 534Q220 386 220 383Q220 381 227 388Q288 442 357 442Q411 442 444 415T478 336Q478 285 440 178T402 50Q403 36 407 31T422 26Q450 26 474 56T513 138Q516 149 519 151T535 153Q555 153 555 145Q555 144 551 130Q535 71 500 33Q466 -10 419 -10H414Q367 -10 346 17T325 74Q325 90 361 192T398 345Q398 404 354 404H349Q266 404 205 306L198 293L164 158Q132 28 127 16Q114 -11 83 -11Q69 -11 59 -2T48 16Q48 30 121 320L195 616Q195 629 188 632T149 637H128Q122 643 122 645T124 664Q129 683 137 683Z&quot; stroke-width=&quot;1&quot; transform=&quot;scale(0.707)&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&amp;nbsp;month (September). We then print the full date in the specified format, which is&amp;nbsp;&lt;code style=&quot;border: 0px; color: var(--color-text-medium-dark); font-family: var(--font-family-input); font-size: 1em; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; word-spacing: -2px;&quot;&gt;12.09.2016&lt;/code&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_input&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_input_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Input 2&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_input_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1800&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_sample_output&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_sample_output_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sample Output 2&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_sample_output_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: var(--color-bg); background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 2px; border: none; color: var(--color-text-dark); font-family: var(--font-family-input); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 20px; margin-top: 12px; outline: 0px; overflow-x: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;err&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;12.09.1800&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;challenge_explanation&quot; style=&quot;background-color: white; border: 0px; color: #0e141e; font-family: OpenSans, Arial, Helvetica, sans-serif; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;msB challenge_explanation_title&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: var(--color-text-dark); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bolder; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Explanation 2&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msB challenge_explanation_body&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;hackdown-content&quot; style=&quot;border: 0px; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Since 1800 is leap year. Day lies on 12 September.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: var(--color-text-dark-faded); font-family: var(--font-family-text); font-size: 14px; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: 2; margin-top: 5px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#!/bin/python3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;math
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;os
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;random
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;re
&lt;span style=&quot;color: #cc7832;&quot;&gt;import &lt;/span&gt;sys

&lt;span style=&quot;color: grey;&quot;&gt;# Complete the dayOfProgrammer function below.&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #ffc66d;&quot;&gt;dayOfProgrammer&lt;/span&gt;(year):

    &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;1700 &lt;/span&gt;&amp;lt;= year &amp;lt;= &lt;span style=&quot;color: #6897bb;&quot;&gt;1917&lt;/span&gt;:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;year%&lt;span style=&quot;color: #6897bb;&quot;&gt;4 &lt;/span&gt;== &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;12.09.&#39;&lt;/span&gt;+&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(year)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;13.09.&#39;&lt;/span&gt;+&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(year)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;&lt;span style=&quot;color: #6897bb;&quot;&gt;1919 &lt;/span&gt;&amp;lt;= year &amp;lt;= &lt;span style=&quot;color: #6897bb;&quot;&gt;2700&lt;/span&gt;:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;year%&lt;span style=&quot;color: #6897bb;&quot;&gt;100 &lt;/span&gt;== &lt;span style=&quot;color: #6897bb;&quot;&gt;0 &lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;and &lt;/span&gt;year%&lt;span style=&quot;color: #6897bb;&quot;&gt;400 &lt;/span&gt;== &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;12.09.&#39;&lt;/span&gt;+&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(year)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;year%&lt;span style=&quot;color: #6897bb;&quot;&gt;100 &lt;/span&gt;== &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;13.09.&#39;&lt;/span&gt;+&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(year)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;year%&lt;span style=&quot;color: #6897bb;&quot;&gt;4 &lt;/span&gt;== &lt;span style=&quot;color: #6897bb;&quot;&gt;0&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;12.09.&#39;&lt;/span&gt;+&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(year)
        &lt;span style=&quot;color: #cc7832;&quot;&gt;else&lt;/span&gt;:
            &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;13.09.&#39;&lt;/span&gt;+&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(year)
    &lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;year == &lt;span style=&quot;color: #6897bb;&quot;&gt;1918&lt;/span&gt;:
        &lt;span style=&quot;color: #cc7832;&quot;&gt;return &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;26.09.&#39;&lt;/span&gt;+&lt;span style=&quot;color: #8888c6;&quot;&gt;str&lt;/span&gt;(year)




&lt;span style=&quot;color: #cc7832;&quot;&gt;if &lt;/span&gt;__name__ == &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;__main__&#39;&lt;/span&gt;:
    fptr = &lt;span style=&quot;color: #8888c6;&quot;&gt;open&lt;/span&gt;(os.environ[&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;OUTPUT_PATH&#39;&lt;/span&gt;]&lt;span style=&quot;color: #cc7832;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;w&#39;&lt;/span&gt;)

    year = &lt;span style=&quot;color: #8888c6;&quot;&gt;int&lt;/span&gt;(&lt;span style=&quot;color: #8888c6;&quot;&gt;input&lt;/span&gt;().strip())

    result = dayOfProgrammer(year)

    fptr.write(result + &lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #cc7832;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #6a8759;&quot;&gt;&#39;&lt;/span&gt;)

    fptr.close()&lt;/pre&gt;
&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;Consolas&#39;; font-size: 9.8pt;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://techhighland.blogspot.com/feeds/9051222311005488866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-of-programmer-hackerrank-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/9051222311005488866'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/841486572422017488/posts/default/9051222311005488866'/><link rel='alternate' type='text/html' href='https://techhighland.blogspot.com/2020/05/day-of-programmer-hackerrank-solution.html' title='Day of the Programmer  - HackerRank Solution (Python)'/><author><name>Abhishek Rai</name><uri>http://www.blogger.com/profile/05001714634257186121</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPQOsKyh1iZsN7hhJu-OZwghr_o975xFZYwjIWqrWADlSYWniDNnb4UhQjWrDazvBqxZkvso39ZuezTmNenpSvVkuvhHyf4AXsqk9rT5POZyiBGF3BEt2M5fIrNL439pI/s220/fb-dp.jpg'/></author><thr:total>0</thr:total></entry></feed>