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