Roma find new character game World Darkraft 2 in game character fight monster find advanced stuff let fight strong monstersThe character equip k distinct type item power item depend level positive integer number Initially character 1level item k typesAfter victory monster character find exactly new randomly generate item the generation process look follow firstly type item define k type probability then level new item define Lets assume level player item choose type equal t moment level new item choose uniformly integer segment 1 t1from new item current player item type Roma choose well ie great level equip level Roma chose the remain item sell coin Roma sell item level x type x coinsHelp Roma determine expect number earn coin victory n monster