Driver code
public static void Main ( ) { Console . WriteLine ( findPieces ( 1 ) ) ; Console . WriteLine ( findPieces ( 2 ) ) ; Console . WriteLine ( findPieces ( 3 ) ) ; Console . Write ( findPieces ( 50 ) ) ; } }