Jim rented a truck for one day. There was a base fee of 16.99, and there was an additional charge of 88 cents for each mile. Jim had to pay 149.87 when he returned the truck. For how many miles did he drive the truck?