Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: sakurajima

Problemset: คิดถึงแม่

Language: cpp

Time: 0.002 second

Submitted On: 2026-09-22 21:57:59

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

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

    int last;
    cin >> last;

    int mom = (last + 145) % 7;
    cout << mom % 7 + 1;

}