output_description: Print the value a + a^2 + a^3 as an integer.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      a
attempt: ii = lambda:int(input())
  mi = lambda:list(map(int,input().split()))
  ix = lambda x:list(input() for _ in range(x))
  mix = lambda x:list(mi() for _ in range(x))
  iix = lambda x:list(int(input()) for _ in range(x))
  ##########
  
  def resolve():
      a = ii()
      print(a+a**2+a**3)
  
  if __name__ == "__main__":
      resolve()
problem_description: Statement
  
  Given an integer a as input, print the value a + a^2 + a^3.
samples: [{"input": "2", "output": "14\n    \n\nWhen a = 2, we have a + a^2 + a^3 = 2 + 2^2 + 2^3 = 2 + 4 + 8 = 14.\n\nPrint the answer as an input. Outputs such as `14.0` will be judged as\nincorrect.\n\n* * *"}, {"input": "10", "output": "1110"}]