I know I can do this with calling 2 maps on the container, but I would also like to do this in one iteration.
As a learning experience, may I suggest you post the code you would have written with two maps? Then we can try and improve on that to have only one map.