Ivan rented a truck for one day. There was a base fee of $18.99, and there was an additional charge of 87 cents for each mile driven. Ivan had to pay $220.83 when he returned the truck. For how many miles did he drive truck?