Problem9754--ABC198 —— A - Div

9754: ABC198 —— A - Div

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

Two boys, A and B, will share $N$ indistinguishable sweets. How many ways are there to do this so that each boy gets a positive integer number of sweets?

Input

Input is given from Standard Input in the following format:

```
$N$
```

Output

Print the answer as an integer.

Constraints

-   $N$ is an integer.
-   $ 1 \leq N \leq 15$

Sample 1 Input

2

Sample 1 Output

1

There is only one way to share the sweets: A and B get one sweet each.

Sample 2 Input

1

Sample 2 Output

0

Sample 3 Input

3

Sample 3 Output

2

Source/Category