output_description: Print the answer modulo 10^{9}+7.
  
  * * *
input_description: The input is given from Standard Input in the following format:
  
      
      
      N
attempt: from statistics import mean, median, variance, stdev
  import numpy as np
  import sys
  import math
  import fractions
  import itertools
  import copy
  
  
  def j(q):
      if q == 1:
          print("YES")
      else:
          print("NO")
      exit(0)
  
  
  def ct(x, y):
      if x > y:
          print("GREATER")
      elif x < y:
          print("LESS")
      else:
          print("EQUAL")
  
  
  def ip():
      return int(input())
  
  
  n = ip()  # 入力整数1つ
  # n,m= (int(i) for i in input().split())      #入力整数横2つ
  # w,a,b = (int(i) for i in input().split())    #入力整数横3つ
  # n,a,b,c= (int(i) for i in input().split())  #入力整数横4つ
  # a = [int(i) for i in input().split()]        #入力整数配列
  # a = input()                                  #入力文字列
  # a = input().split()                          #入力文字配列
  # n = ip()                      #入力セット(整数改行あり)(1/2)
  # a=[ip() for i in range(n)]    #入力セット(整数改行あり)(2/2)
  # a=[input() for i in range(h)]
  # jの変数はしようできないので注意
  # 全足しにsum変数使用はsum関数使用できないので注意
  s = 1
  for i in range(1, n + 1):
      s *= i
      s %= pow(10, 9) + 7
  print(s)
  
problem_description: Statement
  
  Snuke loves working out. He is now exercising N times.
  
  Before he starts exercising, his _power_ is 1. After he exercises for the i-th
  time, his power gets multiplied by i.
  
  Find Snuke's power after he exercises N times. Since the answer can be
  extremely large, print the answer modulo 10^{9}+7.
samples: [{"input": "3", "output": "6\n    \n\n  * After Snuke exercises for the first time, his power gets multiplied by 1 and becomes 1.\n  * After Snuke exercises for the second time, his power gets multiplied by 2 and becomes 2.\n  * After Snuke exercises for the third time, his power gets multiplied by 3 and becomes 6.\n\n* * *"}, {"input": "10", "output": "3628800\n    \n\n* * *"}, {"input": "100000", "output": "457992974\n    \n\nPrint the answer modulo 10^{9}+7."}]