Nico had 312 yards of fabric.

He used 23 yard to make a pillow cover and 13 yard to make a scarf.

How much fabric does Nico have left?