in official contest problem different statement jury solution work incorrectly reason exclude contest this mistake fix current give problem statement model solution correspond jury want contestVova Lesha friend they meet Vovas place compete computer game name the Ancient Papyri Swordsink Vova choose warrior fighter Leshac choose archer after choose initial position character start fight a warrior good melee combat Vova try distance fighter small possible an archer prefer enemy distance Lesha try initial distance large possibleThere n n possible start position character mark Ox axis the position give distinct coordinate x1x2xn character end positionVova Lesha turn ban available position Vova move during turn guy ban exactly remain position ban position Vova Lesha they continue move possible position remain total number move n2 after Vovas character take position less coordinate Leshas character take position big coordinate guy start fightingVova Lesha tired game choosing position need play fight ask developer the Ancient Papyri Swordsink write module automatically determine distance warrior archer start fight Vova Lesha play optimally