



from __future__ import annotations

import random




class  snake_case__						:






     """simple docstring"""


     _SCREAMING_SNAKE_CASE            =     6






     def __init__(	self  :  Tuple )       ->Dict:
            snake_case__							:     Dict            =     list(range(1,			Dice.NUM_SIDES + 1 ) )






     def        lowercase_       (	self  :  List[str] )       ->Any:
            return random.choice(self.sides )


def 	lowercase_							(A		, A = 2				):
       snake_case__							:     Any            =     [Dice() for i in range(A				)]
       snake_case__							:     List[str]            =     [0] * (len(A				) * Dice.NUM_SIDES + 1)
       for _ in range(A				):
              count_of_sum[sum(dice.roll() for dice in dices				)] += 1
       snake_case__							:     Any            =     [round((count * 1_0_0) / 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 	lowercase_							(A			:			list				):
       for i, _ in enumerate(A				):
              if (i % 2 == 1) == (nums[i - 1] > nums[i]):
                     snake_case__     ,    snake_case__							:     List[str]            =     nums[i], nums[i - 1]

       return nums


if __name__ == "__main__":
 print("Enter the array elements:")
 a_       :Tuple				  =				list(map(int, input().split()))
 print("The unsorted array is:")
 print(array)
 print("Array after Wiggle sort:")
 print(wiggle_sort(array))






