speed = int(input("Enter vehicle speed: ")) if speed <= 50: print("No fine") elif speed >= 51 and speed <= 55: print("Just a caution") elif speed >= 56 and speed <= 60: print("Fine is $200") else: print("Fine is $1000")