



"""simple docstring"""







__snake_case	:				List[str]  					=			[[0, 1, 1], [0, 0, 1], [1, 0, 0]]

class       UpperCamelCase  :





     """simple docstring"""






     def __init__(					self :							List[Any]	,      _lowerCamelCase :							List[Any] ):
          A__				=   name
          A__				=   []
          A__				=   []





     def 						A__  (					self :							Dict	,      _lowerCamelCase :							str ):
          self.inbound.append(_lowerCAmelCase )





     def 						A__  (					self :							Dict	,      _lowerCamelCase :							Any ):
          self.outbound.append(_lowerCAmelCase )





     def __repr__(					self :							Tuple ):
          return F'''<node={self.name} inbound={self.inbound} outbound={self.outbound}>'''



def   a_	(			__a		,							__a=3		,							__a=0.85      ):
     A__				=   {}
     for node in nodes:
          A__				=   1

     A__				=   {}
     for node in nodes:
          A__				=   len(node.outbound      )

     for i in range(__a      ):
          print(f'''======= Iteration {i + 1} ======='''      )
          for _, node in enumerate(__a      ):
               A__				=   (1 - d) + d * sum(
                   ranks[ib] / outbounds[ib] for ib in node.inbound      )
          print(__a      )



def   a_	(			):
     A__				=   list(input('''Enter Names of the Nodes: '''      ).split()      )

     A__				=   [Node(__a      ) for name in names]

     for ri, row in enumerate(__a      ):
          for ci, col in enumerate(__a      ):
               if col == 1:
                    nodes[ci].add_inbound(names[ri]      )
                    nodes[ri].add_outbound(names[ci]      )

     print('''======= Nodes ======='''      )
     for node in nodes:
          print(__a      )

     page_rank(__a      )


if __name__ == "__main__":
 main()










"""simple docstring"""







from math import factorial



def   a_	(			__a		,							__a      ):
     return factorial(__a      ) / (factorial(__a      ) * factorial(n - r      ))



def   a_	(			):
     A__				=   0

     for i in range(1		,							101      ):
          for j in range(1		,							i + 1      ):
               if combinations(__a		,							__a      ) > 1e6:
                    total += 1
     return total


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



