A and B have 25 items between them. A sells all his items at a certain price and B sells all his items at a different price and both of them get the same amounts. Had A sold his items at B's price and B at A's price they would have got 576 and 2676 respectively. How many items did A have? (A) 12 (C) 15 (D) 17