A distant, magical land uses jewels for their bartering system. The jewels are valued and ranked in order of their rarity. Each jewel is worth 3 times the jewel immediately below it in the ranking. The ranking is red, orange, yellow, green, blue, indigo, and violet. So a red jewel is worth 3 orange jewels, a green jewel is worth 3 blue jewels, and so on.
At the Auld Shoppe, a shopper buys items that are worth 2 yellow jewels, 2 green jewels, 2 blue jewels, and 1 indigo jewel. If they came into the store with 1 red jewel, 1 yellow jewel, 2 green jewels, 1 blue jewel, and 2 violet jewels, what jewels do they leave with? Assume the shopkeeper gives them their change using as few jewels as possible.