#include #define int long long using namespace std; signed main() { cin.tie(0); ios::sync_with_stdio(false); int N; cin>>N; if(N==1){ cout<<0<