the administration Tomsk Region firmly believe time megacity population million instead improve demographic situation decide achieve goal expand boundary cityThe city Tomsk represent point plane coordinate 0 0 the city surround n location ith coordinate xi yi population ki people you widen city boundary circle radius r in case location inside circle border include cityYour goal write program determine minimum radius r necessary expand boundary Tomsk megacity