Submission

Status:

[-SSSSSSSSS]

Subtask/Task Score:

{0/100}

Score: 0

User: scxtti3h

Problemset: ตรวจบัตรเครดิต

Language: cpp

Time: 0.003 second

Submitted On: 2025-12-10 20:12:16

/*
    AUTHOR : Scxtti3h
    Task   : c1_bkk67_4
    Date   : 10/12/2568
*/

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

int main(){
    int x;
    cin.tie(nullptr)->sync_with_stdio(false);
    cin >> x;
    if(x-1<1){
        cout << 7-(x-1);
    }
    else{
        cout << x-1;
    }
    return 0;
}