output_description: If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print
  `win`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      A_1 A_2 A_3
attempt: n = int(input())
  
  a = []
  
  evidences = []
  for i in range(n):
      ls = []
      x = int(input())
      a.append(x)
      for j in range(x):
          l = [int(_) for _ in input().split(" ")]
          ls.append(l)
      evidences.append(ls)
  
  patterns = []
  for i in range(2**n):
      pattern = [0] * n
      for j in range(n):
          if i >> j & 1:
              pattern[j] = 1
      patterns.append(pattern)
  
  honest = 0
  for pattern in patterns:
      contradict = False
      for i in range(n):
          for evidence in evidences[i]:
              if pattern[i] == 1:
                  if pattern[evidence[0] - 1] != evidence[1]:
                      contradict = True
              else:
                  if pattern[evidence[0] - 1] == evidence[1]:
                      contradict = True
      if contradict == False:
          honest = max(honest, pattern.count(1))
  
  print(honest)
  
problem_description: Statement
  
  Given are three integers A_1, A_2, and A_3.
  
  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print
  `win`.
samples: [{"input": "5 7 9", "output": "win\n    \n\n5+7+9=21, so print `win`.\n\n* * *"}, {"input": "13 7 2", "output": "bust\n    \n\n13+7+2=22, so print `bust`."}]