Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: mik

Problemset: คิดถึงแม่

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-11 08:59:15

#include <bits/stdc++.h>

using namespace std;

int main(){
    ios_base::sync_with_stdio(false),cin.tie(NULL);
    int n;
    cin >> n;
    if (n==1) cout << 7;
    else cout << n-1;
    return 0;
}