AtCoder Beginner Contest 198
A
Div
AtCoder
⌀ 0
原题
←B →
翻译中…

Problem Statement

翻译中…

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?

翻译中…

Constraints

翻译中…
  • $N$ is an integer.
  • $1 \leq N \leq 15$
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

N

翻译中…

Output

翻译中…

Print the answer as an integer.

翻译中…

样例

Input #1
2
Output #1
1
There is only one way to share the sweets: A and B get one sweet each.
Input #2
1
Output #2
0
Input #3
3
Output #3
2
题目信息
题号
abc198_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。