Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Buslnwzuz

Problemset: คิดถึงแม่

Language: cpp

Time: 0.002 second

Submitted On: 2026-10-10 15:09:35

#include <iostream>
using namespace std;

int main(){
    int n;
    cin >> n;
    int idx=-1;
    if(n==1) idx = 7;
    if(n==2) idx = 1;
    if(n==3) idx = 2;
    if(n==4) idx = 3;
    if(n==5) idx = 4;
    if(n==6) idx = 5;
    if(n==7) idx = 6;
    cout << idx;
    return 0;
}