output_description: Print the answer.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      S
      T
attempt: a = int(input())
  print(a + a**2 + a**3)
  
problem_description: Statement
  
  Given are strings S and T. Consider changing S to T by repeating the operation
  below. Find the minimum number of operations required to do so.
  
  Operation: Choose one character of S and replace it with a different
  character.
samples: [{"input": "cupofcoffee\n    cupofhottea", "output": "4\n    \n\nWe can achieve the objective in four operations, such as the following:\n\n  * First, replace the sixth character `c` with `h`.\n  * Second, replace the eighth character `f` with `t`.\n  * Third, replace the ninth character `f` with `t`.\n  * Fourth, replace the eleventh character `e` with `a`.\n\n* * *"}, {"input": "abcde\n    bcdea", "output": "5\n    \n\n* * *"}, {"input": "apple\n    apple", "output": "0\n    \n\nNo operations may be needed to achieve the objective."}]