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: s = input().split()
  intA = int(s[0])
  # print(intA)
  intR = intA
  intR2 = intA * intA
  intR3 = intA * intA * intA
  # print(intR)
  # print(intR2)
  # print(intR3)
  print(intR + intR2 + intR3)
  
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"}]