A vendor bought 175 toffees for 665 rupees. How many toffees in 665 rupees must he sell to gain 40%?