Boxes A, B and C contain 360g of sand altogether. 1/6 of sand in Box A is poured into Box B. 1/3 of sand in Box B is poured into Box C. 1/5 of sand in Box C is poured into Box A. There was an equal amount of sand in each box in the end. Find the amount of sand in each box at first.