square_meters = float(input())
sum_for_all = square_meters * 7.61
discount_for_all = sum_for_all * 0.18
total_sum = sum_for_all - discount_for_all
print(f'The final price is: {total_sum} lv.')
print(f'The discount is: {discount_for_all} lv.')

