Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Kei

Problemset: คิดถึงแม่

Language: cpp

Time: 0.002 second

Submitted On: 2026-10-08 13:05:23

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int,int>;

void solve(){
    int n;
    cin >> n;
    if(n==1) cout << 7;
    else cout<<n-1;
}

int main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    solve();
    return 0;
}