{"raw_statement":[{"iden":"problem statement","content":"We have a bag containing $A$ gold coins, $B$ silver coins, and $C$ bronze coins.\nUntil the bag contains $100$ coins of the same color, we will repeat the following operation:\nOperation: Randomly take out one coin from the bag. (Every coin has an equal probability of being chosen.) Then, put back into the bag two coins of the same kind as the removed coin.\nFind the expected value of the number of times the operation is done."},{"iden":"constraints","content":"*   $0 \\leq A,B,C \\leq 99$\n*   $A+B+C \\geq 1$"},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$A$ $B$ $C$"},{"iden":"sample input 1","content":"99 99 99"},{"iden":"sample output 1","content":"1.000000000\n\nNo matter what coin we take out in the first operation, the bag will contain $100$ coins of that kind."},{"iden":"sample input 2","content":"98 99 99"},{"iden":"sample output 2","content":"1.331081081\n\nWe will do the second operation only if we take out a gold coin in the first operation. Thus, the expected number of operations is $2\\times \\frac{98}{98+99+99}+1\\times \\frac{99}{98+99+99}+1\\times \\frac{99}{98+99+99}=1.331081081\\ldots$"},{"iden":"sample input 3","content":"0 0 1"},{"iden":"sample output 3","content":"99.000000000\n\nEach operation adds a bronze coin."},{"iden":"sample input 4","content":"31 41 59"},{"iden":"sample output 4","content":"91.835008202"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}