#include using namespace std; int main() { int n; int k; int x; cin >> n >> k >> x; long answer=0 ; if(n==3) { if(x==1) cout<