Three targets , , and are placed in front of Mog. Each target is divided into regions of equal area, and a single number is written in each region. The numbers written in all regions are distinct, and there are no duplicate numbers across the three targets. That is, every number written on region is unique. Mog will shoot one arrow at each target. Because Mog is not good at handling a bow, the probability of an arrow hitting each region in a target is equal. There is no case where an arrow misses the target. Find the probabilities that the target with the largest number among the three numbers hit by the arrows is , , and , respectively. When printing the probability , you should print it as follows. If , where and are integers and , output the remainder of divided by . It is guaranteed that .
Input
The input is given in the following format.
Output
Print the probabilities that the target with the largest number among the three numbers hit by the arrows is , , and , respectively, modulo .
Constraints
- .
- .
- are distinct.