def bfs10422(bfs10421):
  bfs10423 = {}
  for (key, values) in list(bfs10421.items()):
    for value in values:
      if (value not in bfs10423):
        bfs10423[value] = set()

      bfs10423[value].add(key)


  return bfs10423

