#include <iostream>
#include <algorithm>
using namespace std;

int main() {
    int n;
    cin >> n;
    int arr[n+1];

    arr[1] = 0;
    for (int i = 2;i < n;i++) {
        if () {
            
        }
    }
    cout << arr[n];
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: