rent_price = int(input())
cake_price = rent_price * 0.2
drink_price = cake_price * 0.55
animator_price = rent_price / 3

total_price = rent_price + cake_price + drink_price + animator_price

print(total_price)