100 atcoder#ABC198A. [ABC198A] Div
[ABC198A] Div
Score : points
Problem Statement
Two boys, A and B, will share indistinguishable sweets. How many ways are there to do this so that each boy gets a positive integer number of sweets?
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
Print the answer as an integer.
2
1
There is only one way to share the sweets: A and B get one sweet each.
1
0
3
2