You need a loop in a loop, this is not an out of the box possibility in the QGIS Print Composer without a Python script, or some manually repititionrepetition in the Print Composer.
The manually way could be using 30 pages in one composer. This is set on the composition tab. If you use a alignment line (the red one), you could place the maps aligned. For each map you have to 'Lock layers for map item' for the one contour you want for the map. This will give you 30 maps in one PDF. You will just have to setup the Atlas coverage loop for one of the maps.
This may be too much manually work for one go, but if you need to print this setup several times, it may be worth a go.