The way I would approach it is to start reference the outer most layer and then dig inwards until you reach the value you're looking for.
This is obviously some sort of homework or exercise question, so giving you the answer out right won't help you learn anything.
Work through it. Get the first item and print it out. Then go another layer deeper and print that out. Keep adding layers till you get to the item you're looking for.
Comment