Computer Programming Contest Preparation

ToolBox - Source for: 115/11588/u1.in



/home/toolbox/public_html/solutions/115/11588/u1.in
    1 50
    2 7 4 8 6
    3 BBMQ
    4 BHCD
    5 ARZO
    6 WKKY
    7 HIDD
    8 QSCD
    9 XRJM
   10 19 3 10 8
   11 XSJ
   12 YBL
   13 DBE
   14 FSA
   15 RCB
   16 YNE
   17 CDY
   18 GGX
   19 XPK
   20 LOR
   21 ELL
   22 NMP
   23 APQ
   24 FWK
   25 HOP
   26 KMC
   27 OQH
   28 NWN
   29 KUE
   30 20 9 3 7
   31 MGBBUQCLJ
   32 JIVSWMDKQ
   33 TBXIXMVTR
   34 RBLJPTNSN
   35 FWZQFJMAF
   36 ADRRWSOFS
   37 BCNUVQHFF
   38 BSAQXWPQC
   39 ACEHCHZVF
   40 RKMLNOZJK
   41 PQPXRJXKI
   42 TZYXACBHH
   43 KICQCOEND
   44 TOMFGDWDW
   45 FCGPXIQVK
   46 UYTDLCGDE
   47 WHTACIOHO
   48 RDTQKVWCS
   49 GSPQOQMSB
   50 OAGUWNNYQ
   51 14 12 2 2
   52 GDGWPBTRWBLN
   53 SADEUGUUMOQC
   54 DRUBETOKYXHO
   55 ACHWDVMXXRDR
   56 YXLMNDQTUKWA
   57 GMLEJUUKWCIB
   58 XUBUMENMEYAT
   59 DRMYDIAJXLOG
   60 HIQFMZHLVIHJ
   61 OUVSUYOYPAYU
   62 LYEIMUOTEHZR
   63 IICFSKPGGKBB
   64 IPZZRZUCXAML
   65 UDFYKGRUOWZG
   66 17 9 3 5
   67 BPPLEQLWP
   68 HAPJNADQH
   69 DCNVWDTXJ
   70 BMYPPPHAU
   71 XNSPUSGDH
   72 IIXQMBFJX
   73 JCVUDJSUY
   74 IBYEBMWSI
   75 QYOYGYXYM
   76 ZEVYPZVJE
   77 GEBEOCFUF
   78 TSXDIXTIG
   79 SIEEHKCHZ
   80 DFLILRJQF
   81 NXZTQRSVB
   82 SPKYHSENB
   83 PPKQTPDDB
   84 15 3 4 8
   85 BQC
   86 WIV
   87 RFX
   88 JUJ
   89 JDD
   90 NTG
   91 EIQ
   92 VDG
   93 AIJ
   94 VWC
   95 YAU
   96 BWE
   97 WPJ
   98 VYG
   99 EHL
  100 18 20 5 10
  101 BPIWUQZDZUBDUBZVAFSP
  102 QPQWUZIFWOVYDDWYVVBU
  103 RCZMGYJGFDXVTNUNNESL
  104 SPLWUIUPFXLZBKNHKWPP
  105 ANLTCFIRJCDDSOZOYVEG
  106 URFWCSFMOXEQMRJOWRGH
  107 WLKOBMEAHKGCCNAEHHSV
  108 EYMQPXHLRNUNYFDZRHBA
  109 SJEUYGAFOUBUTPNIMUWF
  110 JQSJXVKQDORXXVRWCTDS
  111 NEOGVBPKXLPGDIRBFCRI
  112 QIFPGYNKRREFXSNVUCFT
  113 PWCTGTWMXNUPYCFGCUQU
  114 NUBLMOIITNCKLEFSZBEX
  115 RAMPETVHQNDDJEQVUYGP
  116 NKAZQFRPJVOAXDPCWMJO
  117 BMSKSKFOJNEWXGXNNOFW
  118 LTWJWNNVBWJCKDMEOUUZ
  119 15 18 4 6
  120 GVWUJBQXXPITCVOGRA
  121 IDDVHRRDSYCQHKLEEW
  122 HXTEMBAQWQWPQHSUEB
  123 NVFGVJWDVJJAFQZZXL
  124 CXDZNCQGJLAPOPKVXF
  125 GVICETCMKBLJOPGTQV
  126 VHBGSDVIVHESNKQXMW
  127 RQIDRVMHLUBBRYKTHE
  128 YENTMROBDEYQCRGLUA
  129 IIHVEIXWJJRQOPUBJG
  130 UXHXDIPFZWSWYBGFYL
  131 QVJZHARVRLYAUUZDRC
  132 NJKPHCLFFRKEECBPDI
  133 PUFHIDJCXJHRNXCXMJ
  134 CXOHQANXDRMGZEBHNL
  135 19 9 8 1
  136 HWDVTHSFQ
  137 UEEEXGRUJ
  138 IGSKMVRZG
  139 FWVRFTWAP
  140 DTUTPBZTY
  141 GNSRXAJJN
  142 GCOMIKJZS
  143 DWSSZNOVD
  144 RUYPCNJUL
  145 KFUZMXNAF
  146 AMESPCKJC
  147 AZXDRTDGY
  148 RQSCCZYBN
  149 VQQCQCJIT
  150 LVCNVBMAS
  151 IDZGWRAAT
  152 ZZWPWMFBF
  153 JKNCVKELH
  154 HZJCHPDNL
  155 8 9 5 10
  156 PNLGJZNKE
  157 WWUYSGEFO
  158 NEXPMMSBA
  159 OPMDGZQMK
  160 QZXUVTQVN
  161 XBSLQZKGL
  162 ZAMZPDNSJ
  163 OLVYBWXXT
  164 15 20 7 5
  165 NRBAIAKQLLSZKHFZCONN
  166 MOQKLPEEFSNSMOUWQHOD
  167 SGCFOHESYSHMGXWTOAYU
  168 VNOJDJFTQTWKBAPRIUJI
  169 MQWSPSLGVLCSAQBDBGWT
  170 BSEETTWDNFNBYJVPDJXY
  171 UZQXSTATBZPCTTHOOFRE
  172 MGFKRBCVKZVGBOFTHGOJ
  173 HDNAYWPNBITORAAIBEDN
  174 EZWFPDAWLOHSSVTQTKFV
  175 SYLJZLUCQXSWYQDNTDMF
  176 RTZLQSEKEJHZKSKLFEPX
  177 CHVCZYSVDGCXBBISWMEA
  178 YLZIFKTMOIKSSFXTGPOJ
  179 XQIYSRSQFWQDJQNQCGDQ
  180 6 2 10 8
  181 UI
  182 EA
  183 ZV
  184 MW
  185 NU
  186 UF
  187 8 18 10 8
  188 LOYVGMLIUQANDLYAVF
  189 AUAOSNLNVACSVPIUMO
  190 IAWCQXSWKQWGXYAZNT
  191 NAIKAMEYBNUQBCQAGG
  192 XACHRYNQXQQMLFOTPQ
  193 HVOKIIAMMQMVXJVBSO
  194 AIFZYXNJCBERRNMIXX
  195 SYJHOVENGBPYQRIXQG
  196 8 9 8 7
  197 GXRXKFHIC
  198 AINHWILKQ
  199 MBPESZDIG
  200 ZNZXTZQSJ
  201 WATYCBMJA
  202 WWMNINEPF
  203 DUPLUCLTX
  204 MKPVGRRGT
  205 11 7 5 5
  206 RAGELTK
  207 CAPWPBQ
  208 ROMQAWI
  209 XEZQKVL
  210 FBHWCOC
  211 PJMRMBP
  212 BEGVSUL
  213 UQTUUVK
  214 ESVJTDH
  215 VTJMEXF
  216 QBVUFDP
  217 14 3 9 7
  218 NWQ
  219 JTB
  220 PLY
  221 ZED
  222 ICW
  223 SOD
  224 PWT
  225 QRP
  226 YUE
  227 ARH
  228 WGF
  229 NPA
  230 QEL
  231 OFR
  232 5 7 4 1
  233 IKTXIPQ
  234 ZEQVLQM
  235 UOUBBJB
  236 RPMIXFC
  237 LBSTNOS
  238 12 10 3 5
  239 JCPWSDQHXR
  240 KIUEZIOWOQ
  241 JPIECWXXBJ
  242 TNMKJGNCPM
  243 VAUQGTAUSO
  244 KBFUGJTFIU
  245 QBJCLVLAZA
  246 MUCIMICNEW
  247 DOXJLFUEMD
  248 ADGKHUFSUE
  249 VJAXRNIVCO
  250 RHFRQQWNUJ
  251 19 7 1 9
  252 EVSLQPR
  253 LYSKRHU
  254 NLJGSOX
  255 LEUYYFQ
  256 UTOZQHM
  257 GYETYYE
  258 PFAESJL
  259 KZIVDEV
  260 DLLYGAZ
  261 XJNDJRX
  262 HRDYYDD
  263 QNQDOAY
  264 SHWXSHX
  265 ZJYWUMB
  266 FFAMXDN
  267 XJQOYIR
  268 MIRERNE
  269 KXDLICJ
  270 FQKKVNX
  271 5 15 7 9
  272 ZCIXMZKWSQOIWYF
  273 ALPEUUUGFRTEOMQ
  274 INUQNIRXELPSTOS
  275 AODQSZKOGRFBXTN
  276 PDBLTQTMPYYEQTU
  277 5 10 9 5
  278 KCOWSWQYXN
  279 TNDXQQSGKH
  280 VIHBAAWJUG
  281 AGLODDKTDJ
  282 IZYNYOESUO
  283 8 2 9 3
  284 TY
  285 JR
  286 IF
  287 XI
  288 MK
  289 YR
  290 OK
  291 KT
  292 13 12 3 3
  293 IQIOJFCKYATR
  294 YEKIJKSVUSOK
  295 CYEAVWUFPCTA
  296 JXKIXDBXJMIT
  297 WCQQXFBBFHBA
  298 DVFUAAUJXFRW
  299 KVUUHEPDIFVF
  300 KYHSFIULEAFG
  301 AAPAHJWTESPL
  302 WEQFMNMYMTQR
  303 ELEINKOPMFPV
  304 OMQUEGHDMXKY
  305 NWXZQNSWAXGN
  306 15 14 8 2
  307 BUUSGKMNQWQDVA
  308 DIWAHOQAKQZQGK
  309 MLHQFDIMNWZGSP
  310 LOROWNPGEHIOXH
  311 HFRVQALWDTKSSL
  312 YKAJATAXGPDMYL
  313 DXUKDNFTPRRUMB
  314 MEMLROWRHWOQNT
  315 CLGHLCRORZHGSB
  316 AECPLPCCDYVNXM
  317 DMFHAOPLQIZKHI
  318 QBJTIMITDKXIKS
  319 XJECWMKWABHSLI
  320 EVQVWCQEQAZTKY
  321 DWRBGXDCJPALSH
  322 11 19 6 3
  323 ZHHVLXCBXDWJCCGTDOQ
  324 ISCYSPQZVUQIVZPTLPV
  325 OOYNYAPGVSWOAOSAGHR
  326 FFNXNJYEELTZAIZNICC
  327 OZWKNWYHZGPQLWFKJQI
  328 PUUJVWTXLBZNRYJDOHB
  329 VGHMYUIGGTYQJTMUQIN
  330 NTQMIHNTKDDNALWNMSX
  331 SATQQELDACNNPJFERMR
  332 NYUQNWBJJPDJHDEAVKN
  333 YKPOXHXCLQQEDQAVDWZ
  334 3 19 9 6
  335 RWWXYRHLSRDGQKDUVTM
  336 ZZCZUFVTVFIOYGKVEDE
  337 RVVUDNEGHBCTCBXDXEZ
  338 6 10 9 4
  339 PFHZANFFEC
  340 CBGQFMZJQT
  341 LRSPPXQIYW
  342 JOBSPEFUJL
  343 XNMDDURDDI
  344 YOBQFSPVCO
  345 8 13 7 8
  346 DRZKMKWLYIQDC
  347 HGHRGYTZDNOBQ
  348 CVDEQJYSTMEPX
  349 CANIEWQMOXKJW
  350 PYMQORLUXEDVY
  351 WHCOGHOTPUSFG
  352 IESTCKRPAIGOC
  353 FUFBUBIYRRFFM
  354 13 15 1 1
  355 IMIDFNNZCPHKFLP
  356 BQSVTDWLUDSGAUN
  357 GFZOIHBXIFOPRWC
  358 JZSDXNGTACWTJYP
  359 WEUXVEGYBOGSFXQ
  360 HIPBOMPUFPXCKIC
  361 AGHUFCZMACCGWIG
  362 MRQCTEQKBWBAAMI
  363 COQLIVNJJOOMWKU
  364 CZNVDGZTQARSARG
  365 KWUAHEYVOHLETJQ
  366 POPDJSLKOELFYNZ
  367 EAVAACEAZUIMYDY
  368 8 6 3 9
  369 YXBLHP
  370 PUUNKT
  371 TKQTMV
  372 ANUUVJ
  373 VAHMVV
  374 UVSVHZ
  375 KYWHMG
  376 CHQVDC
  377 6 9 2 9
  378 ZMXWNEIKZ
  379 FGTANTNLP
  380 WZVAHNVKP
  381 LPFAOTXNG
  382 EXRFCZZDM
  383 USZLOBIOK
  384 7 12 9 3
  385 XLRXBLVOTZOM
  386 EQLFTXZLZKBC
  387 SQMNCIAZVRZY
  388 EUPYVDKBTWHP
  389 VGCWTEYLWKBY
  390 UBXRUWSZSHXP
  391 MJRHFAWDIBZB
  392 11 6 2 6
  393 KSBHTA
  394 APZSOR
  395 BNJPZC
  396 XECVJM
  397 WJQDJH
  398 GVZJCU
  399 KFJJZA
  400 CBPNSO
  401 PPVTLE
  402 IJPYNY
  403 FVUEFY
  404 2 15 8 10
  405 ADJEGBSYPJOMFBR
  406 NKILZHSVBWCZWTD
  407 10 14 9 2
  408 BOSVMJFCYMDRZQ
  409 ZKPGEMJAOJYJOF
  410 EYWIMQDACKDAWI
  411 TXYSJQZNCIPTTN
  412 CJTJHRTVKWWOJB
  413 QHJJFKBOACCENR
  414 XIHCSANBTGXDCT
  415 TNUJVFSCRWQTYU
  416 YNMXWVBQXORQUO
  417 WZHPMDZJLRLCNC
  418 3 7 9 9
  419 BMVZHXP
  420 ENHVIVT
  421 HFIVKHF
  422 8 12 9 3
  423 QUYETWIFTHNS
  424 XRGGOQBHXIQS
  425 VZZSCQUTMSZF
  426 QJNMTAEQTMYK
  427 CBRZKJUHLTZN
  428 LUIYOKFHVSTO
  429 UZGQMEAOGRQS
  430 DMZOHYDTUOTJ
  431 9 19 9 8
  432 TLKNMQDYVDPBXFTATUQ
  433 ASTVPHOAHPSDIFNXRFB
  434 QAGHDFOYHHSXHNTDCCT
  435 CMIUPQZEQSJRKMZRPHF
  436 OOOIOYVJDXNWBZHVQZW
  437 UPRGIBSITJPAZFRITPF
  438 ESFSQGRXEKXCGMTMVVG
  439 FQQWSPDJXZADDUKVLQP
  440 KUZJZHWSUTPCAFSYAIB
  441 12 12 7 3
  442 MEGWBTPQELRN
  443 KBLDXGUZGCSE
  444 CCINLIZYOGWQ
  445 ZLIFXCTHDGMA
  446 NJZTLTANVIAJ
  447 SCHHKDXLRFRO
  448 HMXMSMMHVODI
  449 HDVFNXOFBXML
  450 CLXVROJACJPW
  451 XBEURHCBMZGZ
  452 WWGYVTLZEIVX
  453 YGAAPPZOSDIK
  454 13 17 4 3
  455 LTXIRDIOYTNFEIEEP
  456 EHGVGVQJFAVSNTFIQ
  457 NBVXPUTCZZNFDCMKK
  458 HSHXDNZYHORMWJCXF
  459 BOBWRCVEHBITNSDGA
  460 CJPEIYSBMRNOQSSFV
  461 OYXKEGLMAYGFGIHQZ
  462 NAZGDMZQCPIUUDJUC
  463 VYJIMLIVQPDZHFNHE
  464 VKSUDVJLRGRCAVXZE
  465 HLRQGJHMJQTYZZTJS
  466 NOPYAGETJFQIEXQRO
  467 IAYROJHJHGIARCPGR
  468 7 2 1 5
  469 DH
  470 ZT
  471 PF
  472 QH
  473 WH
  474 PY
  475 FI
  476 11 17 8 10
  477 XVGXNIOVABDATGJSZ
  478 AZSIWZZWEILUXIRVQ
  479 QKZEFBHIDDQMXRMXJ
  480 WTIWROGCKDLDADTKC
  481 ZPFHZIKPUJHJGQFBB
  482 BTRHVCNIFNMBAQAPY
  483 JRGVGDFPMLIRNJVGA
  484 EDETOKJCLJSNAQZRZ
  485 UACBPQNXJCIEKLLNP
  486 EDBPFOYYCZQDSPXST
  487 BKJQJTSUZCFKRWRXY
  488 3 11 5 8
  489 AQGTTYITTEU
  490 DNKMGEGGINS
  491 BKJYKSBYXDR
  492 3 18 1 10
  493 HFYLZBALQJPYRXMJZY
  494 VXKNYIMEZRAMYJRXWT
  495 AXESGURXTFIUDFSPSS
  496 13 20 3 10
  497 ZZLYKEVHXXGEQMAHLTOV
  498 ORBIIVCFCZGDATBKAYTX
  499 WZDONDVAZJWPCZXKWZRA
  500 AAECTHNVGGTEIYSVCPWD
  501 AUSEVRQRSJSTJWXFFKAL
  502 TVRBULYYAUDCQVGLOWDG
  503 GXBPVZWALXOGUFHOTIOT
  504 ERYVOEICBNLJKOAHNXIB
  505 WWHQDRHWZXSFPQADUJIX
  506 YTIJJJQZIAAEWJWCCFYD
  507 DQJUIJZDUHCTCLEMWWLE
  508 XNKVWIZZOYCTQLNZXOET
  509 YIOAVSORRBVOQFLPQLQG
  510 5 10 6 10
  511 GOEFCKAATP
  512 DOHTGAXDQN
  513 LCEBPUHAPG
  514 FXWKCAUCBN
  515 RGEBBMDYPU
  516 1 1 3 9
  517 D
  518 20 6 1 10
  519 ESUBOE
  520 DRBHUQ
  521 BAUEDG
  522 HCYDSA
  523 BMEOBO
  524 FFJCGZ
  525 GLQJVK
  526 AWMUCQ
  527 DLUBPM
  528 BQYFHC
  529 WMHFOO
  530 GXZXGU
  531 HISWDW
  532 MIIGJZ
  533 UMPUUY
  534 WSNEZD
  535 UFCTCJ
  536 QMRKIW
  537 HWEREP
  538 QYEHSY
  539 8 11 1 2
  540 XRYRWBMBMEP
  541 FPZEYVKRZAJ
  542 ZESTEAKWVHN
  543 WALZNMNRBUI
  544 CYGXJXYLIXR
  545 BTVBDRZNGXN
  546 RWCGLUJFCME
  547 LLPKMCTLTUE
  548 8 9 3 2
  549 UXPRMIPPO
  550 AJYINMMYX
  551 DJJFEVAYZ
  552 QTLZQIOJX
  553 YBMNDXLLM
  554 XZLWCWGJA
  555 DJAEBVQAL
  556 AQXXPYJED
  557