Box A has 4 times as many sweets as box B and thrice as many sweets as box C. If there were 38 sweets in the 3 boxes, how many sweets were in box A?