Pavan went to a market and bought 4 kg potato for Rs 20 per kg and 5 kg onion for Rs 40 per kg. How much did he spend in total___?