def solve(): guess = 2 count = 0 while True: if len(prime_factors(guess)) == 4: count += 1 else: count = 0 if count == 4: return guess-3 guess += 1
def solve(): num = 600851475143 return max(prime_factors(num))