Question
Fuel Ride Estimator
You are driving a futuristic car that behaves differently on terrains.  
The fuel price is fixed at ₹100 per litre, and the mileage values are:  
- City mileage: 12 kmpl
- Highway mileage: 18 kmpl
- Mountains mileage: 10 kmpl

Your Task:  
1. Take two inputs:  
    money (amount of money spent on fuel)  
    terrain (string: "city", "highway", or "mountains")  
2. Convert the money into litres of fuel (fuel = money // 100) using integer division.
3. Based on terrain, pick the correct mileage.  
4. Calculate and print how many kilometres the car can travel on that terrain.  
 
Input
First line: money (integer, in rupees)  
Second line: terrain (string: "city", "highway", or "mountains")  
Output
Print the total distance covered followed by a space and km (for example, 60 km).
Example
Input:
500
city  

Output:
60 km  

Explanation:
Money = 500 → fuel = 500 // 100 = 5 litres  
Terrain = city → mileage = 12 km per litre  
Distance = 5 × 12 = 60 km

Online