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 = list(input())
  ans = 7
  for i in range(2 ** len(num)):
      total = 0
      ans_num = []
      ans_op = []
      for j in range(len(num)):
          if (i >> j) & 1:
              ans_num.append(num[j])
              if j >= 1:
                  ans_op.append("+")
              total += int(num[j])
          else:
              ans_num.append(num[j])
              if j >= 1:
                  ans_op.append("-")
              total -= int(num[j])
      if total == ans:
          print(
              ans_num[0]
              + ans_op[0]
              + ans_num[1]
              + ans_op[1]
              + ans_num[2]
              + ans_op[2]
              + ans_num[3]
              + "=7"
          )
          break
  
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"}]