Jackpots
The rules of the final round of King's Lottery in Byteland are simple:
The player starts to draw balls from an opaque bag containing red balls, green balls and blue balls initially.
After the player draws the ball, the ball is not returned into the bag.
The player continues the process until he collects all red balls, or all green balls, or all blue balls.
The player wins the Gold Jackpot if he collects red balls, Silver Jackpot if he collects green balls, or Bronze Jackpot otherwise.
Given and , calculate the probabilities of winning each jackpot.
Input
Contains three integers and .
Output
Print three irreducible fractions and denoting the probability of winning the Gold Jackpot, the Silver Jackpot and the Bronze Jackpot, respectively. The fractions shall be printed in the form .