speed = int(input('Enter your vehicle speed: ')) if speed < 51 : print('You are fine') elif speed >= 60: print("$1000 fine") elif speed >= 55 : print("$200 fine") elif speed >= 50 : print("Just a caution")