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:36:43

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