


def 			_a      (    __UpperCamelCase	,	__UpperCamelCase	,	__UpperCamelCase	,	__UpperCamelCase	,	__UpperCamelCase			):
     if target == 0:
          answer.append(path.copy()			)
     else:
          for index in range(__UpperCamelCase	,	len(__UpperCamelCase			)			):
               if target >= candidates[index]:
                    path.append(candidates[index]			)
                    backtrack(__UpperCamelCase	,	__UpperCamelCase	,	__UpperCamelCase	,	target - candidates[index]	,	__UpperCamelCase			)
                    path.pop(len(__UpperCamelCase			) - 1			)



def 			_a      (    __UpperCamelCase	,	__UpperCamelCase			):
     a_     :  List[Any]				      =     []  # type: list[int]
     a_     :  Optional[int]				      =     []  # type: list[int]
     backtrack(__UpperCamelCase	,	__UpperCamelCase	,	__UpperCamelCase	,	__UpperCamelCase	,	0			)
     return answer



def 			_a      (    ):
     print(combination_sum([-8, 2.3, 0]	,	1			)			)


if __name__ == "__main__":
       import doctest

       doctest.testmod()
       main()







__lowerCamelCase   	=  {0: [1, 2], 1: [0, 3], 2: [0], 3: [1], 4: [5, 6], 5: [4, 6], 6: [4, 5]}

__lowerCamelCase   	=  {0: [1, 2, 3], 1: [0, 3], 2: [0], 3: [0, 1], 4: [], 5: []}



def 			_a      (    __UpperCamelCase	,	__UpperCamelCase	,	__UpperCamelCase			):
     a_     :  Tuple				      =     True
     a_     :  Optional[Any]				      =     []

     for neighbour in graph[vert]:
          if not visited[neighbour]:
               connected_verts += dfs(__UpperCamelCase	,	__UpperCamelCase	,	__UpperCamelCase			)

     return [vert, *connected_verts]



def 			_a      (    __UpperCamelCase			):
     a_     :  Dict				      =     len(__UpperCamelCase			)
     a_     :  List[str]				      =     graph_size * [False]
     a_     :  Dict				      =     []

     for i in range(__UpperCamelCase			):
          if not visited[i]:
               a_     :  str				      =     dfs(__UpperCamelCase	,	__UpperCamelCase	,	__UpperCamelCase			)
               components_list.append(__UpperCamelCase			)

     return components_list


if __name__ == "__main__":
       import doctest

       doctest.testmod()



