output_description: Print the answer modulo 10^{9}+7.
  
  * * *
input_description: The input is given from Standard Input in the following format:
  
      
      
      N
attempt: N = int(input())
  
  
  class Mint:
  
      MOD = 10**9 + 7
  
      def __init__(self, x=0):
          self.x = (x % self.MOD + self.MOD) % self.MOD
  
      def __iadd__(self, other):
          self.x += other.x
          if self.x >= self.MOD:
              self.x -= self.MOD
          return self
  
      def __isub__(self, other):
          self.x += self.MOD - other.x
          if self.x >= self.MOD:
              self.x -= self.MOD
          return self
  
      def __imul__(self, other):
          self.x *= other.x
          self.x %= self.MOD
          return self
  
      def __add__(self, other):
          ans = Mint(self.x)
          ans += other
          return ans
  
      def __sub__(self, other):
          ans = Mint(self.x)
          ans -= other
          return ans
  
      def __mul__(self, other):
          ans = Mint(self.x)
          ans *= other
          return ans
  
      def __pow__(self, n):
          if n == 0:
              return Mint(1)
          a = self.__pow__(n >> 1)
          a *= a
          if n & 1:
              a *= self
          return a
  
      def inv(self):
          return self ** (self.MOD - 2)
  
      def __ifloordiv__(self, other):
          self *= other.inv()
          return self
  
      def __floordiv__(self, other):
          ans = Mint(self.x)
          ans //= other
          return ans
  
  
  def Main(N):
      ans = Mint(1)
      for i in range(1, N + 1):
          ans *= Mint(i)
      return ans.x
  
  
  print(Main(N))
  
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."}]