12369 - New Operator   

Description

One day, a mathematician defined a new operator  and used it on his work. However, the mathematician didn't know how to write a program to make a computer calcuate the result. He decided to hire you to write a program for him.  The following shows how the new operator is defined.

new operator  : give two integer A,B (A is a three digit integer, B is a two digit integer). 

 B = (sum of all digits in A)  /  (sum of all digits in B)

ex:  123  23 = (1+2+3) / (2+3) = 1.20

note that : if use visual studio add #pragma warning(disable:4996) in first line to use scanf function

Input

Given two integer A, B (A is three-digit integer, B is two-digit integer)

Output

Print out the result of A  B (Note that your output should follow three rules)

rule1.  the length of the output string is exactly 13 character.

rule2.  the result value should be expressed as a floating point number round off to the 2nd decimal place. For example, 3.00 or 6.53

rule3.  print '\n' at the end of the output.

 

Sample Input  Download

Sample Output  Download

Tags




Discuss