




def 							_A       (						lowerCAmelCase_					: int = 3       ,    lowerCAmelCase_					: int = 7       ,    lowerCAmelCase_					: int = 100_0000      ):
     """simple docstring"""

     lowerCAmelCase__          =			0
     lowerCAmelCase__          =			1

     for current_denominator in range(1       ,    limit + 1      ):
          lowerCAmelCase__          =			current_denominator * numerator // denominator
          if current_denominator % denominator == 0:
               current_numerator -= 1
          if current_numerator * max_denominator > current_denominator * max_numerator:
               lowerCAmelCase__          =			current_numerator
               lowerCAmelCase__          =			current_denominator
     return max_numerator


if __name__ == "__main__":
     print(solution(numerator=3, denominator=7, limit=100_0000))






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]
