
'''simple docstring'''






from math import loga







def 		A_       (	_lowerCAmelCase   :    int							):



      """simple docstring"""




      if a < 0:
            raise ValueError("Input value must be a positive integer"							)
      elif isinstance(_lowerCAmelCase				,	_lowerCAmelCase							):
            raise TypeError("Input value must be a 'int' type"							)
      return 0 if (a == 0) else int(loga(a & -a							)							)


if __name__ == "__main__":
 import doctest

 doctest.testmod()

'''simple docstring'''






import random
from typing import Any







def 		A_       (	_lowerCAmelCase   :    list							):



      """simple docstring"""




      for _ in range(len(_lowerCAmelCase							)							):
            _lowerCamelCase				:   Any								=   random.randint(0				,	len(_lowerCAmelCase							) - 1							)
            _lowerCamelCase				:   List[str]								=   random.randint(0				,	len(_lowerCAmelCase							) - 1							)
            _lowerCamelCase						,		_lowerCamelCase				:   Union[str, Any]								=   data[b], data[a]
      return data


if __name__ == "__main__":
 UpperCAmelCase_       :   Any   =       [0, 1, 2, 3, 4, 5, 6, 7]
 UpperCAmelCase_       :   Dict   =       ['python', 'says', 'hello', '!']
 print('Fisher-Yates Shuffle:')
 print('List', integers, strings)
 print('FY Shuffle', fisher_yates_shuffle(integers), fisher_yates_shuffle(strings))