Profits by cars

Problem Name:
Profits by cars
Site:HackerEarth
Links:
Tags:
Problem setters: