Submission
Status:
[PPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: chokun
Problemset: คิดถึงแม่
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-08 14:58:13
#include <bits/stdc++.h>
using namespace std;
int main(){
int end_of_year;
cin >> end_of_year;
int miss_mom = end_of_year - 1;
if(miss_mom == 0){
miss_mom = 7;
}
cout << miss_mom;
}