Aditya and Manish continued in a joint business for 36 months. Aditya contribute Rs. 300 for certain time and Manish invested Rs. 500 for remaining time. If out of total profit of Rs. 1020, Aditya get Rs. 495, then for how long Aditya kept his money?