For each part of the quest, you will be required to open 3 sets of locks. In all parts, the top set is a resource. The other 2 sets will be aquireable items.
The first lock set in each part calls for resources. In part one, the required resource is gold For the remaining parts, the required resorce is food. The initial food cost of part 2 doubles for part 3 and doubles again for part 4. The total food requirement for the quest is 28 times what the first lock is.
N = Varies by level