Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: colo39

Problemset: คิดถึงแม่

Language: cpp

Time: 0.002 second

Submitted On: 2026-09-30 16:01:00

#include <bits/stdc++.h>
using namespace std;

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