import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class Factorial { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int N = Integer.parseInt(br.readLine()); int fact = 1; for (int i = 1; i