You need the Screen compositing method.
Since the composition only accepts two input files at a time, loop over all the input files.
Substitute `somth1.png` below by any of the input files. It is needed because `res.png` is always a starting point.
cp somth1.png res.png
for f in somth*.png;
do composite -compose Screen "$f" res.png res.png
done