Submission
Status:
[PPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: Kidmaiok
Problemset: คิดถึงแม่
Language: cpp
Time: 0.003 second
Submitted On: 2026-10-11 14:17:48
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
#define space << ' '
#define nl << endl
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
vector<int> months={31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
int day = 243,n;
cin >> n;
if(n != 1){
cout << n-1;
}else{
cout << "7";
}
}