Hans spent $14 on fruit at the grocery store. He spent a total of $40 at the store . What percentage of the total did he spend of fruit.