Like an usual car, my new i10 car has 5 wheels(2 front + 2 Rear + 1 spare).

The rear wheel of the car will wear out after 21000 kilometers and the front wheel will wear out after 29000 kilometers.

What is the maximum distance I can cover assuming changing of wheels is not an issue?