Lesha play recently publish new version legendary game hacknet in version character skill mechanism introduce now player character exactly n skill each skill represent nonnegative integer ai current skill level all skill maximum level AAlong skill global rank player add Players rank accord socalled Force the Force player sum follow value the number skill character perfect ie aiA multiplied coefficient cf the minimum skill level skill min ai multiplied coefficient cm now Lesha m hacknetian currency unit willing spend each currency unit increase current level skill 1 equal a help spend money order achieve maximum possible value force