##
# Idea Bag 2
#
# Tax Calculator
# Develop a program that asks the user to enter a cost and either a country or state tax. It then returns the tax plus the total cost with tax
#


cost = float(input())
tax = float(input())

your_tax = cost * tax / 100.0
total_cost = your_tax + cost

print('%.2f\t%.2f' % (your_tax, total_cost))