10699: 切蛋糕

Memory Limit:1024 MB Time Limit:2.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:0

Description

今天是培训的最后一天,所以大家伙买了个蛋糕想要庆祝一下,实验室一共有m个人,将蛋糕平均切成m块,使得每个人都有蛋糕吃。此外实验室还有n个草莓,将草莓随机放在蛋糕上,求所有草莓放在同一块蛋糕上的概率。

Input

多组测试数据,每组测试数据包含两个整数,mn。(2<m,n<=10

Output

化简之后的概率。

Sample Input Copy

3 3
3 4

Sample Output Copy

1/3
4/27