Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Lovelolbtw

Problemset: คิดถึงแม่

Language: cpp

Time: 0.002 second

Submitted On: 2026-09-29 16:40:54

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

int main()
{
    int n;
    cin >> n;

    if(n == 1){
        cout << 7 << "\n";
    }

    else {
        cout << n-1 << "\n";
    }
    return 0;


}