"""simple docstring"""






def 						a_		(      lowerCamelCase = 1_0_0_0_0_0_0 ):
				UpperCAmelCase__    =							limit + 1
				UpperCAmelCase__    =							[0] * limit
				for first_term in range(1      ,    lowerCamelCase ):
								for n in range(lowerCamelCase      ,    lowerCamelCase      ,    lowerCamelCase ):
												UpperCAmelCase__    =							first_term + n / first_term
												if common_difference % 4:  # d must be divisble by 4
																continue
												else:
																common_difference /= 4
																if (
																    first_term > common_difference
																    and first_term < 4 * common_difference
																):  # since x,y,z are positive integers
																				frequency[n] += 1  # so z>0 and a>d ,also 4d<a

				UpperCAmelCase__    =							sum(1 for x in frequency[1:limit] if x == 1_0 )

				return count


if __name__ == "__main__":
						print(F"""{solution() = }""")




"""simple docstring"""






import re



def 						a_		(      lowerCamelCase ):
				return [char.split() for char in re.split(r'[^ a-z A-Z 0-9 \s]'      ,    str_ )]



def 						a_		(      lowerCamelCase ):
				UpperCAmelCase__    =							split_input(str_ )
				return "".join(
				    [''.join([char.capitalize() for char in sub_str] ) for sub_str in string_split] )



def 						a_		(      lowerCamelCase      ,    lowerCamelCase      ,    lowerCamelCase ):
				try:
								UpperCAmelCase__    =							split_input(lowerCamelCase )
								if upper:
												UpperCAmelCase__    =							''.join(
												    [
												        separator.join([char.upper() for char in sub_str] )
												        for sub_str in string_split
												    ] )
								else:
												UpperCAmelCase__    =							''.join(
												    [
												        separator.join([char.lower() for char in sub_str] )
												        for sub_str in string_split
												    ] )
								return res_str
				except IndexError:
								return "not valid string"



def 						a_		(      lowerCamelCase ):
				return to_simple_case(lowerCamelCase )



def 						a_		(      lowerCamelCase ):
				try:
								UpperCAmelCase__    =							to_simple_case(lowerCamelCase )
								return res_str[0].lower() + res_str[1:]
				except IndexError:
								return "not valid string"



def 						a_		(      lowerCamelCase      ,    lowerCamelCase ):
				return to_complex_case(lowerCamelCase      ,    lowerCamelCase      ,    '_' )



def 						a_		(      lowerCamelCase      ,    lowerCamelCase ):
				return to_complex_case(lowerCamelCase      ,    lowerCamelCase      ,    '-' )


if __name__ == "__main__":
						__import__('doctest').testmod()



