// solved: 2025-09-13 #pragma region templates #include using namespace std; //型省略 using ll = long long; using ull = unsigned long long; using lll = __int128; using ld = long double; using pii = pair; using pll = pair; template using vec = vector; template using mat = vec>; using vecl = vec; using matl = mat; using vvvl = vec>>; using vvvvl = vec>>>; using vecs = vec; using mats = mat; using vecld = vec; using matld = mat; template using pq = priority_queue>; //大きい順 template using pq_g = priority_queue, greater>; //小さい順 //定数関連 const int INF = 1001001001; const ll LINF = (1LL << 60); const double DINF = 1e18; const double pi = acos(-1.0); constexpr array dx2 = {1, 0, -1, 0}; constexpr array dy2 = {0, 1, 0, -1}; constexpr array dx3 = {1, 1, 0, -1, -1, -1, 0, 1}; constexpr array dy3 = {0, 1, 1, 1, 0, -1, -1, -1}; //まっくろくろすけ #define all(x) (x).begin(), (x).end() #define rall(x) (x).rbegin(), (x).rend() #define nfor(i, s, n) for(ll i = s; i < (n); i++) #define rfor(i, s, n) for(ll i = (s) - 1; i >= (n); i--) #define for0(i,n) for(ll i = 0; i < (n); i++) #define for1(i,n) for(ll i = 1; i <= (n); i++) #define nper(v) next_permutation(all(v)) #define YES cout << "Yes\n" #define NO cout << "No\n" #define dame cout << -1 << "\n" #define YN {cout << "Yes\n";} else {cout << "No\n";} #define eudist(x, y) ((x)*(x) + (y)*(y)) #define L1(x1, y1, x2, y2) (abs((x1) - (x2)) + abs((y1) - (y2))) //ACL使う? /* //#include "atcoder/modint" //#include "atcoder/convolution" //#include "atcoder/dsu" //#include "atcoder/fenwicktree" //#include "atcoder/lazysegtree" //#include "atcoder/math" //#include "atcoder/maxflow" //#include "atcoder/mincostflow" //#include "atcoder/scc" //#include "atcoder/segtree" //#include "atcoder/string" //#include "atcoder/twosat" using namespace atcoder; using mint = modint998244353; //using mint = modint1000000007; //using mint = modint; // 好きな数で取りたいとき。上で宣言→main内で set_mod //mint::set_mod(m); // これで m で mod とれるよ(main の中で呼んでね) using vecmint = vec; using matmint = mat; using vvvmint = vec>>; */ #pragma endregion //関数 //メイン関数ここから int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; cout << N - 1 << "\n"; }