The contractor works for 3*5=<<3*5=15>>15 hours

That means he charged 150*15=$<<150*15=2250>>2250

The inspector charged 2250*.8=$1800 less

So the inspector charged 2250-1800=$<<2250-1800=450>>450

So the total amount charged was 250+450+2250=$<<250+450+2250=2950>>2950

# Answer

2950
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
John decides to install a ramp in his house.  He needs to get permits which cost $250.  After that, he hires a contractor which costs $150 an hour and the guy works for 3 days at 5 hours per day.  He also pays an inspector 80% less to make sure it is OK.  How much was the total cost?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
2950
John decides to install a ramp in his house.  He needs to get permits which cost $250.  After that, he hires a contractor which costs $150 an hour and the guy works for 3 days at 5 hours per day.  He also pays an inspector 80% less to make sure it is OK.  How much was the total cost?
train