weightc=[115,112,125,108,112,115,99,140,115,135,103,191,...
      120,140,133,92,165,125,118,135,127,87,165,112];
weightd=[140,126,145,146,133,137,135,178,150,172,138,215,...
      155,182,164,117,224,148,161,173,148,163,187,138];