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