Competitions

# Week 1: November 2 – 8. Introduction to C language. Part 1

# 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** (**1** ≤ **n** ≤ **100**).

#### 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.

Input example #1

2

Output example #1

1