





import random





def lowerCAmelCase__(__snake_case       ,__snake_case       ,__snake_case = False							)				->      List[Any]:







	'''simple docstring'''







	lowerCamelCase__								=		{i: [] for i in range(_UpperCAmelCase							)}

	# if probability is greater or equal than 1, then generate a complete graph
	if probability >= 1:
		return complete_graph(_UpperCAmelCase							)
	# if probability is lower or equal than 0, then return a graph without edges
	if probability <= 0:
		return graph

	# for each couple of nodes, add an edge from u to v
	# if the number randomly generated is greater than probability probability
	for i in range(_UpperCAmelCase							):
		for j in range(i + 1       ,_UpperCAmelCase							):
			if random.random() < probability:
				graph[i].append(_UpperCAmelCase							)
				if not directed:
					# if the graph is undirected, add an edge in from j to i, either
					graph[j].append(_UpperCAmelCase							)
	return graph





def lowerCAmelCase__(__snake_case							)				->      Any:







	'''simple docstring'''







	return {
	    i: [j for j in range(_UpperCAmelCase							) if i != j] for i in range(_UpperCAmelCase							)
	}


if __name__ == "__main__":
			import doctest

			doctest.testmod()










"""simple docstring"""




import os





def 						UpperCAmelCase__		(     ):






  """simple docstring"""





  A_  :       Any										=  os.path.join(os.path.dirname(_UpperCAmelCase					) ,					'num.txt'					)
  with open(_UpperCAmelCase					) as file_hand:
    return str(sum(int(_UpperCAmelCase					) for line in file_hand					)					)[:10]


if __name__ == "__main__":
   print(solution())