A game consists of black and white pieces. The number of black pieces is 5 more than 3 times the white pieces. 7 white and 15 black pieces are removed each round. After several rounds, there are 3 white and 56 black pieces left. How many pieces were there in the beginning?