One bar of candy A and two bars of candy B have 770 calories. Two bars of candy A and one bar of candy B contain
784 calories. Find the caloric content of each candy bar.

Candy bar A has :
Candy bar B has: