On the eve of Christmas, the kindergarten invited some parents to dress up as Santa Claus and distributed 221 toys and 88 school supplies to a child in the kindergarten. It was found that each child just got B toys, but after the average score of school supplies, there were still 3 toys left. So what's a? B how much?

On the eve of Christmas, the kindergarten invited some parents to dress up as Santa Claus and distributed 221 toys and 88 school supplies to a child in the kindergarten. It was found that each child just got B toys, but after the average score of school supplies, there were still 3 toys left. So what's a? B how much?

88-3 = 85, 85 = 5 × 17, 221 = 13 × 17, the common factors of 85 and 221 are 1, 17, but a = 1, so a = 17, then B = 221 △ 17 = 13; a is 17, B is 13