Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: anwaxu

Problemset: คิดถึงแม่

Language: cpp

Time: 0.004 second

Submitted On: 2026-09-25 03:02:18

#include <bits/stdc++.h>
using namespace std;
int main() {
    int n;
    cin >> n;
    if (n == 1) {
        cout << "7";

    }else {
        cout << n-1;
    }
}