#include using namespace std; int N; int main(){ cin>>N; int t=N*(N-1)/2; for(int i=1;i<=N;i++) t*=i; cout<