Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Darleneee93

Problemset: คิดถึงแม่

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-13 00:51:25

#include <bits/stdc++.h>
using namespace std;

int main(){
	ios::sync_with_stdio(false);
	cin.tie(nullptr);

	int x;
	cin  >>x;
	int ans = ((x+222)%7)%7;
	cout << ans+1;
}