




UpperCamelCase								=					'Tobias Carryer'

from time import time





class 			__lowerCamelCase	:




    """simple docstring"""

    def __init__(	self					:					Any       ,     SCREAMING_SNAKE_CASE__					:					Dict       ,     SCREAMING_SNAKE_CASE__					:					str       ,     SCREAMING_SNAKE_CASE__					:					List[str]       ,     SCREAMING_SNAKE_CASE__					:					Any=int(time()       )       )				->	List[Any]:  # noqa: B008
         lowerCAmelCase__          =			multiplier
         lowerCAmelCase__          =			increment
         lowerCAmelCase__          =			modulo
         lowerCAmelCase__          =			seed


    def        a				(	self					:					Any       )				->	Any:
         lowerCAmelCase__          =			(self.multiplier * self.seed + self.increment) % self.modulo
         return self.seed


if __name__ == "__main__":
     # Show the LCG in action.
     UpperCamelCase								=					LinearCongruentialGenerator(166_4525, 10_1390_4223, 2 << 31)
     while True:
          print(lcg.next_number())






from statistics import mean, stdev



def 							_A       (						lowerCAmelCase_					: list       ,    lowerCAmelCase_					: int = 3      ):
     """simple docstring"""

     lowerCAmelCase__          =			min(lowerCAmelCase_      )
     lowerCAmelCase__          =			max(lowerCAmelCase_      )
     # normalize data
     return [round((x - x_min) / (x_max - x_min)       ,    lowerCAmelCase_      ) for x in data]






def 							_A       (						lowerCAmelCase_					: list       ,    lowerCAmelCase_					: int = 3      ):
     """simple docstring"""

     lowerCAmelCase__          =			mean(lowerCAmelCase_      )
     lowerCAmelCase__          =			stdev(lowerCAmelCase_      )
     # standardize data
     return [round((x - mu) / (sigma)       ,    lowerCAmelCase_      ) for x in data]
