Submission

Status:

[PPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: denze

Problemset: คิดถึงแม่

Language: cpp

Time: 0.003 second

Submitted On: 2025-10-12 21:58:02

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

int main()
{
    int n;
    scanf("%d", &n);
    if (n == 1)
    {
        printf("%d", 7);
    }
    else
    {
        printf("%d", n - 1);
    }
}

/*
3
*/