
"""simple docstring"""




from __future__ import annotations

import random
class SCREAMING_SNAKE_CASE       :






	'''simple docstring'''







	snake_case__							:		List[Any]         =		6


	def __init__(  self :int			)			->   str:

			'''simple docstring'''






			a__   		=     list(range(1       ,    Dice.NUM_SIDES + 1			)			)






	def    _UpperCamelCase							(  self :Any			)			->   Optional[Any]:

			'''simple docstring'''






			return random.choice(self.sides			)

def __snake_case (      UpperCamelCase						,					UpperCamelCase = 2    )       ->    Tuple:


		"""simple docstring"""





		a__   		=     [Dice() for i in range(_lowerCAmelCase    )]
		a__   		=     [0] * (len(_lowerCAmelCase    ) * Dice.NUM_SIDES + 1)
		for _ in range(_lowerCAmelCase    ):
				count_of_sum[sum(dice.roll() for dice in dices    )] += 1
		a__   		=     [round((count * 100) / num_throws						,					2    ) for count in count_of_sum]
		return probability[num_dice:]  # remove probability of sums that never appear


if __name__ == "__main__":
					import doctest

					doctest.testmod()










def     lowerCAmelCase		(		_lowerCAmelCase				: Tuple    ,				_lowerCAmelCase				: Tuple						):




 """simple docstring"""







 sequence.append(_lowerCAmelCase						)

 UpperCAmelCase__							=    0
 while sequence[index] != target:
  index += 1

 sequence.pop()

 if index == len(_lowerCAmelCase						):
  return None

 return index


if __name__ == "__main__":
  _lowerCAmelCase    : List[Any]		= input("Enter numbers separated by comma:\n").strip()
  _lowerCAmelCase    : Dict		= [int(item) for item in user_input.split(",")]

  _lowerCAmelCase    : Optional[Any]		= input("Enter a single number to be found in the list:\n")
  _lowerCAmelCase    : Tuple		= int(target_input)
  _lowerCAmelCase    : int		= sentinel_linear_search(sequence, target)
  if result is not None:
    print(F'''{target} found at positions: {result}''')
  else:
    print("Not found")





