Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: itskrid

Problemset: คิดถึงแม่

Language: cpp

Time: 0.002 second

Submitted On: 2025-11-18 13:24:13

#include <bits/stdc++.h>
using namespace std;
int main(){
    int n;
    cin >> n;
    if (n==1){
        cout << "7" <<endl;
    } else {
    cout << abs(n - 1) << endl;
    }
    return 0;
}