All problems

The Conversion Funnel Number

easyPythonAnalyticsArithmetic

Lantern's growth team ends every day with the same two figures on the whiteboard: how many people arrived at the site, and how many of them started a subscription. The dashboard the board actually reads wants neither raw number. It wants the one figure that still means something on a day when traffic doubles.

Task: Print the share of visitors who converted, as a percentage.

Input

Two lines. The first holds an integer, the number of visitors, which is never zero. The second holds an integer, how many of those visitors converted.

Output

One line: a percentage with exactly two digits after the decimal point. A day when everyone converted prints 100.00; a day when nobody did prints 0.00.

Example:

Input:
2500
95

Output:
3.80

Sign in to solve this problem

Reading problems is free for everyone — solving them (Run, Submit, and tracking what you've solved) needs an account.

Sign in

Discussion

Sign in to join the discussion — reading is open to everyone.

Loading comments…