cart = [15, 42, 120, 9, 5, 380] discount = int(input()) total = 0 for i in cart: total += i print(total-(total*discount/100))