The ticket office of the Science and Technology Museum stipulates: Individual tickets (tickets for 1 person) are 5 yuan, group tickets (for 10 people) are 35 yuan, and Mr. Li takes 45 students to visit together. What is the minimum cost for buying tickets?
科技馆售票处规定：个人门票(1人券)5元，团体门票(可供10人用)35元，李老师带45名同学一起去参观，买票最少需要花多少元．
<gadget id="calculator">4 * 35</gadget>
<output>140</output>

<gadget id="calculator">5 * 6</gadget>
<output>30</output>

<gadget id="calculator">140 + 30</gadget>
<output>170</output>

<result>170</result>