#include<stdio.h>
int main(){
    int n,fact;
    scanf("%d",n);
    if(n<0){
        pintf("Invaild input");
    }
}