To estimate the price of the 2012 Mazda 2 1.5L i4 S Grade (Base) hatchback in bad condition with 296900 km mileage, I considered several data points. First, a 2014 Mazda 2 1.5L I4 sedan with 89300 km in average condition sold for AED 17500 on 2024-02-04. Given the older model year and higher mileage of the target car, its value would be significantly lower. Next, a 2014 Mazda 2 1.5L V4 hatchback with 279000 km had an accepted offer of AED 9000 on 2023-11-11. This car is closer in body type and mileage to the target car but is still newer. Additionally, a 2014 Mazda 2 1.5L I4 sedan with 89300 km had an accepted offer of AED 20000 on 2024-01-09, which is less relevant due to the different body type and lower mileage. For listed prices, a 2014 Mazda 2 1.5L V4 hatchback with 279000 km was listed for AED 10500 but delisted on 2023-11-22, and a 2011 Mazda 2 1.5L Hatchback S with 145000 km was listed for AED 15500. Considering the bad condition and high mileage of the target car, I estimate its market price to be lower than these figures.