Submission

Status:

[-SSSSSS]

Subtask/Task Score:

{0/100}

Score: 0

User: matcherbrainner

Problemset: คิดถึงแม่

Language: cpp

Time: 0.002 second

Submitted On: 2026-09-19 20:33:49

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