Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Jame007

Problemset: คิดถึงแม่

Language: cpp

Time: 0.004 second

Submitted On: 2026-09-28 19:30:47

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

int main(){
    int  d;
    cin >> d;
    if(d==1){
        cout << "7";
    }
    else{
        cout << d-1;
    }
    return 0;
}