Submission
Status:
[PPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: pakorn
Problemset: คิดถึงแม่
Language: cpp
Time: 0.002 second
Submitted On: 2026-10-04 13:54:27
#include <bits/stdc++.h>
using namespace std;
int main(){
cin.tie(0)->sync_with_stdio(0);
vector<long int> s(15);
// 12 sihaaa kummm
int n;
cin >> n;
if((n+6)%7 == 0)cout << '7';
else cout << (n+6)%7;
return 0;
}