Medium Math > Basic Math

One day **Saiful** and **Sumon** decided to go an orphanage to give some chocolates to the orphans. But they are unable to figure out how to distribute chocolates. Suddenly they saw that their close friend **Badhan Sen** coming toward them. They told him everything and asked his help for this situation. Badhan said that they should follow following rules to give chocolates to the orphans: - Chocolate should be given equally to all orphans. - If some chocolates left: - Divide it equally between them ( **Saiful** and **Sumon** ) if possible. - If equal distribution is impossible, **Saiful** will have the bigger share of it. They Said "Okay,We will follow your rule". Now, Help them to strictly follow the rule. **Input:** ------------ The first line of the input will consist of an integer which represents the test case T (0 < T <= 1000). Each test case contains two integers **N (0 <= N <= 2^63 -1 ) and M (0 <= M <= 100000 )** Number of chocolates that Saiful and Sumon are going to divide among the M orphans. **Output:** --------------- For every test case, print the **Case #x: 'O' chocolates, 'Si' chocolates and 'SU' chocolates**. Here x is the test case number and three integers ‘O’, ‘SI’ and ‘SU’ denotes the number of chocolates each orphan, Saiful and Sumon have. See Sample Input and Output for clarifications. Note: While printing be careful about "chocolate" and "chocolates" if there are more than one chocolate, you should print "chocolates" otherwise chocolate. **Sample Input:** -------------------- 2 14 5 13 5 **Sample Output:** ------------------------ Case #1: 2 chocolates, 2 chocolates and 2 chocolates Case #2: 2 chocolates, 2 chocolates and 1 chocolate

Badhan Sen