speed = int(input("Enter your vehicle speed: ")) if speed < 50 and speed > 1 or speed == 50: print("No fine") if speed < 55 and speed > 51 or speed == 55 or speed == 51: print("Just a caution") if speed < 60 and speed > 56 or speed == 56 or speed == 60: print("$200 fine") if speed < 999 and speed > 61 or speed == 61 or speed == 999: print("$1000 fine")