Ivan rented a truck for a day. There was a base fee of 17.95 and there was an additional charge of 93 cents for each mile driven Ivan had to pay 164.89 when he returned the truck. For how many miles did he drive the truck?