A man invested an amount at 10% per annum and another amount at 8% per annum simple interset.Thus,he received Rs.1350 as annual interest.Had he interchanged the amounts invested,he would have received Rs.45 less as interest.What amounts did he invest at different rates?