output_description: Among A, B and C, print the integer that is different from the rest.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      A B C
attempt: from collections import deque
  
  h, w = map(int, input().split())
  hw = [list(input()) for _ in range(h)]
  
  for i in range(h):
      for j in range(w):
          if hw[i][j] == ".":
              cnt = 0
              for x in [-1, 0, 1]:
                  for y in [-1, 0, 1]:
                      if i + y in range(h) and j + x in range(w):
                          if hw[i + y][j + x] == "#":
                              cnt += 1
              hw[i][j] = cnt
  
  for line in hw:
      print("".join(list(map(str, line))))
  
problem_description: Statement
  
  You are given three integers, A, B and C.  
  Among them, two are the same, but the remaining one is different from the
  rest.  
  For example, when A=5,B=7,C=5, A and C are the same, but B is different.  
  Find the one that is different from the rest among the given three integers.
samples: [{"input": "5 7 5", "output": "7\n    \n\nThis is the same case as the one in the statement.\n\n* * *"}, {"input": "1 1 7", "output": "7\n    \n\nIn this case, C is the one we seek.\n\n* * *"}, {"input": "-100 100 100", "output": "-100"}]