squarMeters = float(input())
totalSum = squarMeters * 7.61
discount = totalSum * 0.18
totalSum = totalSum - discount
print(f'The final price is: {totalSum} lv."')
print(f'The discount is: {discount} lv.')