Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Newton4566

Problemset: คิดถึงแม่

Language: cpp

Time: 0.004 second

Submitted On: 2026-09-24 23:02:24

#include <iostream>
using namespace std;

int main() {
    int d;
    cin >> d;

    int day = (d + 5) % 7 + 1;

    cout << day << endl;

    return 0;
}