Shayna wanted to make note cards by cutting pieces of paper in half. Before starting she got two more pieces to use. When she was done she had 22 half-pieces of paper. With how many pieces did she start?