vacation_price = float(input()) puzzles_count = int(input()) doll_count = int(input()) bear_count = int(input()) minion_count = int(input()) truck_count = int(input()) puzzle = 2.6 doll = 3 bear = 4.1 minion = 8.2 truck = 2 total_sum = 0 total_toys = puzzles_count + doll_count + bear_count + minion_count + truck_count total_sum += puzzle * puzzles_count total_sum += doll * doll_count total_sum += bear * bear_count total_sum += minion * minion_count total_sum += truck * truck_count if total_toys >= 50: total_sum = 0.75 * total_sum total_sum -= total_sum * 0.1 if total_sum >= vacation_price: print(f"Yes! {total_sum - vacation_price:.2f} lv left.") else: print(f"Not enough money! {vacation_price - total_sum:.2f} lv needed.")