To estimate the price of the 2017 Hyundai Elantra I4 2.0L GL (Mid) with 320500 km mileage, I considered several data points. The closest match is a 2017 Hyundai Elantra I4 2.0L GL (Mid) with 217000 km sold for 35000 SAR on 2024-05-30. Given the higher mileage of the target car, I adjusted the price downwards. Another relevant data point is a 2016 Hyundai Elantra I4 2.0L GL (Mid) with 185000 km sold for 35000 SAR on 2024-02-10. Considering the target car's higher mileage and one year newer model, I further adjusted the price. The listed price of a similar car with the same mileage is 39000 SAR, but listed prices are generally higher than selling prices. Factoring in the car's good condition and the depreciation due to high mileage, I arrived at the final estimate.