Tom and Jasmine have Rs. 41 altogether. 14 of Tom's money is Rs. 2 more than 17 of Jasmine's money. How much does Tom have?