Little Artyom decide study probability theory he find book lot nice exercise want help themconsider dice when throw dice show integer 1 n inclusive for dice probability outcome give course sum 1 different dice different probability distributionsWe throw dice simultaneously calculate value maxab minab equal outcome dice b equal outcome second dice you do not know probability distribution particular value dice know probability distribution maxab minab that x 1 n know probability maxab equal x probability minab equal x find valid probability distribution value dice its guarantee input datum consistent solution exist