An amount of money is to be divided between Mary and John in a ratio of 3:5.How much does John get if Mary gets $330