function pick = PickShmoo(ashmoo, alphashmoo)
population = sum(sum(sum(ashmoo + alphashmoo)));
random = randperm(population);
random = random(1);

count = 0;
for i = 1:5
    for j = 1:5
        for k = 1:4
            if ashmoo(i, j, k) > 0
                for a = 1:ashmoo(i, j, k)
                    count = count + 1;
                    if count == random && ashmoo(i, j, k) ~= 0
                        pick = [i j k];

                    end
                end
            end
        end
    end
end


for i = 1:5
    for j = 1:5
        for k = 1:4
            if alphashmoo(i, j, k) > 0
                for a = 1:alphashmoo(i, j, k)
                    count = count + 1;
                    if count == random && alphashmoo(i, j, k) ~= 0
                        pick = [i j (4+k)];

                    end
                end
            end
        end
    end
end