PUMaC 2011 Team Sudoku Problem 15

Gene, Ashwath and Cosmin together have 2511 math books. Gene now buys as many math books as he already has, and Cosmin sells off half his math books. This leaves them with 2919 books in total. After this, Ashwath suddenly sells off all his books to buy a private jet, leaving Gene and Cosmin with a total of 2184 books. How many books did Gene, Ashwath and Cosmin have to begin with? Concatenate the three answers (in the order Gene, Ashwath, Cosmin) and write down the result.