Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: matcherbrainner

Problemset: คิดถึงแม่

Language: cpp

Time: 0.002 second

Submitted On: 2026-09-19 20:46:03

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