Devina made a quilt using 142 pieces of fabric. She used 4 times as many fabric pieces to make a second quilt. For her third quilt, she doubled the number of fabric pieces that she used in her second quilt. How many fabric pieces did she use in the third quilt?