#P2144. [FJOI2007] 轮状病毒
[FJOI2007] 轮状病毒
Description
There are many variants of rotaviruses. Many rotaviruses are generated from a wheel base. An -wheel base consists of distinct base atoms on a circular ring and one core atom at the center. An edge between atoms represents the information channel between these atoms, as shown in Figure 1.
The generation rule of an -rotavirus is to delete some edges in the -wheel base so that there is a unique information path between any two atoms. For example, there are different -rotaviruses, as shown in Figure 2.
Given , write a program to compute how many different -rotaviruses there are.

Input Format
The first line contains positive integer .
Output Format
Output line, the number of different -rotaviruses.
3
16
Hint
Translated by ChatGPT 5
京公网安备 11011102002149号