cp=float(input("Enter the cost price"))
sp=float(input("Enter the selling price"))
profit=sp-cp
newsellingprice=1.05*profit+cp
print("Profit will be of",profit)
print("For 5% increase in profit new selling price will be",newsellingprice)
