"""simple docstring"""
def 						__a   (	_SCREAMING_SNAKE_CASE   )	->Any:
  a__:     List[Any]										=	[0] * len(_SCREAMING_SNAKE_CASE   )
  a__:     int										=	[]
  a__:     Optional[int]										=	[]
  a__:     Optional[Any]										=	0

  for values in graph.values():
    for i in values:
      indegree[i] += 1

  for i in range(len(_SCREAMING_SNAKE_CASE   )   ):
    if indegree[i] == 0:
      queue.append(_SCREAMING_SNAKE_CASE   )

  while queue:
    a__:     int										=	queue.pop(0   )
    cnt += 1
    topo.append(_SCREAMING_SNAKE_CASE   )
    for x in graph[vertex]:
      indegree[x] -= 1
      if indegree[x] == 0:
        queue.append(_SCREAMING_SNAKE_CASE   )

  if cnt != len(_SCREAMING_SNAKE_CASE   ):
    print('Cycle exists'   )
  else:
    print(_SCREAMING_SNAKE_CASE   )


# Adjacency List of Graph
lowercase__					       =	{0: [1, 2], 1: [3], 2: [3], 3: [4, 5], 4: [], 5: []}


topological_sort(graph)



"""simple docstring"""
from math import pow, sqrt







def 						__a   (	*_SCREAMING_SNAKE_CASE   )	->bool:
  a__:     Union[str, Any]										=	len(_SCREAMING_SNAKE_CASE   ) > 0 and all(value > 0.0 for value in values   )
  return result







def 						__a   (	_SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE   )	->float | ValueError:
  return (
      round(sqrt(molar_mass_a / molar_mass_a   )		,     6   )
      if validate(_SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE   )
      else ValueError('Input Error: Molar mass values must greater than 0.'   )
  )







def 						__a   (	_SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE   )	->float | ValueError:
  return (
      round(effusion_rate * sqrt(molar_mass_a / molar_mass_a   )		,     6   )
      if validate(_SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE   )
      else ValueError(
          'Input Error: Molar mass and effusion rate values must greater than 0.'   )
  )







def 						__a   (	_SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE   )	->float | ValueError:
  return (
      round(effusion_rate / sqrt(molar_mass_a / molar_mass_a   )		,     6   )
      if validate(_SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE   )
      else ValueError(
          'Input Error: Molar mass and effusion rate values must greater than 0.'   )
  )







def 						__a   (	_SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE   )	->float | ValueError:
  return (
      round(molar_mass / pow(effusion_rate_a / effusion_rate_a		,     2   )		,     6   )
      if validate(_SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE   )
      else ValueError(
          'Input Error: Molar mass and effusion rate values must greater than 0.'   )
  )







def 						__a   (	_SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE   )	->float | ValueError:
  return (
      round(pow(effusion_rate_a / effusion_rate_a		,     2   ) / molar_mass		,     6   )
      if validate(_SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE		,     _SCREAMING_SNAKE_CASE   )
      else ValueError(
          'Input Error: Molar mass and effusion rate values must greater than 0.'   )
  )


