#include #include #include using namespace std; using ll = long long; //244 int main() { int n; scanf("%d", &n); printf("%d\n", n - 1); }