Three persons A,B and C travel a distance of 8 km by an autorickshaw. The auto driver demanded Rs. 80. A gave him sixty rupees and B gave him 20 rupess. Reaching a fruit shop, A borrowed Rs. 40 from B for buying fruits. After reaching home, C gave 30 rupees to A. Then A gave 30 rupees to B and got 15 rupess back. On the basis of the given information find the amount spent by A.