flower_type = input()
quantity_flowers = int(input())
budget = int(input())
total = 0
roses_price = 5
dahlias_price = 3.8
tulip_price = 2.8
narcissus_price = 3
gladiolus_price = 2.5
if flower_type == "Roses":
total = quantity_flowers * roses_price
if quantity_flowers > 80:
total -= total * 0.1
elif flower_type == "Dahlias":
total = quantity_flowers * dahlias_price
if quantity_flowers > 90:
total -= total * 0.15
elif flower_type == "Tulips":
total = quantity_flowers * tulip_price
if quantity_flowers > 80:
total -= total * 0.15
elif flower_type == "Narcissus":
total = quantity_flowers * narcissus_price
if quantity_flowers < 120:
total += total * 0.15
elif flower_type == "Gladiolus":
total = quantity_flowers * gladiolus_price
if quantity_flowers < 80:
total += total * 0.2
if budget >= total:
print(f"Hey, you have a great garden with {quantity_flowers} {flower_type} and {budget - total:.2f} leva left.")
else:
print(f"Not enough money, you need {total - budget:.2f} leva more.")