e-olymp
Problems

Stepan Friends

Stepan Friends

Stepan returned from International Olympiad in Informatics (IOI) and brought with him n colored stones as souvenirs. Stepan is not a greedy boy, so he decided to share stones with his friends. Stepan gave to each friend exactly one stone. It turned out that Stepan has now also only one stone. Determine how many friends has Stepan.

Input

One number n (1n100).

Output

Print the number of Stepan's friends.

Explanation

Stepan brought 2 stones, one of which he left for himself. So the second stone he gave to his one friend.

Time limit 1 second
Memory limit 122.17 MiB
Input example #1
2
Output example #1
1
Source 2015 ACM-ICPC Ukraine, Первый этап Украина, 25 апреля