output_description: Print the number of days before the next Sunday.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      S
attempt: N = int(input())
  W = []
  G = [[] for i in range(N + 1)]
  for i in range(N - 1):
      a, b = map(int, input().split())
      W.append((a, b))
      G[a].append(b)
      G[b].append(a)
  K = 0
  for i in range(1, N + 1):
      n = len(G[i])
      K = max(K, n)
  print(K)
  C = [[i for i in range(1, K + 1)] for j in range(N + 1)]
  import copy
  
  w = copy.deepcopy(W)
  d = [[0 for i in range(N + 1)] for j in range(N + 1)]
  w.sort()
  for i in range(N - 1):
      a, b = W[i]
      print(d[a][b])
  
problem_description: Statement
  
  Given is a string S representing the day of the week today.
  
  S is `SUN`, `MON`, `TUE`, `WED`, `THU`, `FRI`, or `SAT`, for Sunday, Monday,
  Tuesday, Wednesday, Thursday, Friday, and Saturday, respectively.
  
  After how many days is the next Sunday (tomorrow or later)?
samples: [{"input": "SAT", "output": "1\n    \n\nIt is Saturday today, and tomorrow will be Sunday.\n\n* * *"}, {"input": "SUN", "output": "7\n    \n\nIt is Sunday today, and seven days later, it will be Sunday again."}]