Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: pottersk146

Problemset: คิดถึงแม่

Language: cpp

Time: 0.002 second

Submitted On: 2026-10-09 22:23:25

#include <iostream>
using namespace std;
using ll=long long;
int main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    ll n;
    cin>>n;
    ll day;
    day=n-1;
    if (day == 0)
        day = 7;
    cout << day;
    return 0;
}