# SHUOJ-1668-How many ways

How many ways

Time Limit: 1 Sec Memory Limit: 128 MB

Cindy and Angela are good friends now. They can now go for an adventure without their dads. There are n houses with a road between every two houses in the village. The little girls decided to go to each house after dinner every evening as adventure.

They start from any house Cindy choose and return to the same house as an end of the adventure. But notice, Angela doesn’t like to walk a long way,she’s easy to get tired. So they don’t want to pass the same road for twice in any one of the adventures. How many fresh adventures they may have during the vacation.I’m sure it’s really an easy problem for you

传送门：SHUOJ1668

## Input

There will be several test cases. And for each test case, there is one line of input containing n(1<=n<=50). A line containing 0 follows the last test case.

## Output

For each test case, output a line giving the number of ways.

## Sample Input

1 | 1 |

## Sample Output

1 | 1 |

## 题解

简直神奇，随便写了下公式竟然过了 不要问我为什么，我也不知道。。。## AC code:(不包含输入类)

1 | import java.io.*; |