Source Code
#include <bits/stdc++.h>

using namespace std;

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

    if(n==6)
    {
        cout<<1;
        return 0;
    }


    cout<<(n-6)*2;

    return 0;
}
Copy
Bracket Sequence mhna.
GNU G++17
3 ms
532 KB
Wrong Answer