Finn bought 6 bags of red potatoes and 8 bags of white potatoes. Each bag of potatoes weighed 17 kilograms. He also bought 3 onions. How many kilograms of potatoes did Finn buy in all?

(6+8)*17 = _____