output_description: If N is **good** , print `Yes`; otherwise, print `No`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N
attempt: num_str = list(str(input()))
  num = []
  for i in range(4):
      num.append(int(num_str[i]))
  if num[0] + num[1] + num[2] + num[3] == 7:
      print(num[0], "+", num[1], "+", num[2], "+", num[3], "=7", sep="")
  
  elif num[0] - num[1] + num[2] + num[3] == 7:
      print(num[0], "-", num[1], "+", num[2], "+", num[3], "=7", sep="")
  
  elif num[0] + num[1] - num[2] + num[3] == 7:
      print(num[0], "+", num[1], "-", num[2], "+", num[3], "=7", sep="")
  
  elif num[0] + num[1] + num[2] - num[3] == 7:
      print(num[0], "+", num[1], "+", num[2], "-", num[3], "=7", sep="")
  
  elif num[0] - num[1] - num[2] + num[3] == 7:
      print(num[0], "-", num[1], "-", num[2], "+", num[3], "=7", sep="")
  
  elif num[0] - num[1] + num[2] - num[3] == 7:
      print(num[0], "-", num[1], "+", num[2], "-", num[3], "=7", sep="")
  
  elif num[0] - num[1] - num[2] - num[3] == 7:
      print(num[0], "-", num[1], "-", num[2], "-", num[3], "=7", sep="")
  
  elif num[0] + num[1] - num[2] - num[3] == 7:
      print(num[0], "+", num[1], "-", num[2], "-", num[3], "=7", sep="")
  
problem_description: Statement
  
  We call a 4-digit integer with three or more consecutive same digits, such as
  1118, **good**.
  
  You are given a 4-digit integer N. Answer the question: Is N **good**?
samples: [{"input": "1118", "output": "Yes\n    \n\nN is **good** , since it contains three consecutive 1.\n\n* * *"}, {"input": "7777", "output": "Yes\n    \n\nAn integer is also **good** when all the digits are the same.\n\n* * *"}, {"input": "1234", "output": "No"}]