Jared sold 194 Boy Scout chocolate bars. Matthew sold three times as many as Jared. Gary sold 297 fewer than Matthew. How many bars did Gary sell