martian scientist explore Ganymede Jupiters numerous moon recently find ruin ancient civilization the scientist bring Mars tablet writing language unknown sciencethey find inhabitant Ganymede alphabet consist letter word exactly ell letter long so scientist decide write word language integer 0 2ell 1 inclusively the letter alphabet correspond zero bit integer second letter correspond bitthe word form language then need restore initial form the process describe belowdenote distance word position word differ for example distance 1001_2 1100_2 binary equal word different letter second fourth position count leave right far denote distance word x y dx yLet word n form ith describe integer x_i all x_i necessarily different form word write consider word y then closeness word y equal sum distance word form ie sum dx_i y 1 le le nThe initial form word y minimal possible nearnessyou need help scientist write program find initial form word give know form note initial form necessarily equal n give form