A shopkeeper prepares 396 gulabjamuns and 342 rasgullas. He packs them into containers. Each container consists of either gulab jamun or rasgulla, but have equal number of pieces. Find the number of pieces. Find the number of pieces he should put in each container so that numbers of containers are least.