





from math import factorial, pi





def lowerCAmelCase__(__snake_case       ,__snake_case = 30							)				->      List[Any]:







	'''simple docstring'''







	if not isinstance(_UpperCAmelCase       ,(int, float)							):
		raise ValueError('''maclaurin_sin() requires either an int or float for theta'''							)

	if not isinstance(_UpperCAmelCase       ,_UpperCAmelCase							) or accuracy <= 0:
		raise ValueError('''maclaurin_sin() requires a positive int for accuracy'''							)

	lowerCamelCase__								=		float(_UpperCAmelCase							)
	lowerCamelCase__								=		theta // (2 * pi)
	theta -= 2 * div * pi
	return sum(
	    (-1) ** r * theta ** (2 * r + 1) / factorial(2 * r + 1							) for r in range(_UpperCAmelCase							)							)





def lowerCAmelCase__(__snake_case       ,__snake_case = 30							)				->      List[str]:







	'''simple docstring'''







	if not isinstance(_UpperCAmelCase       ,(int, float)							):
		raise ValueError('''maclaurin_cos() requires either an int or float for theta'''							)

	if not isinstance(_UpperCAmelCase       ,_UpperCAmelCase							) or accuracy <= 0:
		raise ValueError('''maclaurin_cos() requires a positive int for accuracy'''							)

	lowerCamelCase__								=		float(_UpperCAmelCase							)
	lowerCamelCase__								=		theta // (2 * pi)
	theta -= 2 * div * pi
	return sum((-1) ** r * theta ** (2 * r) / factorial(2 * r							) for r in range(_UpperCAmelCase							)							)


if __name__ == "__main__":
			import doctest

			doctest.testmod()

			print(maclaurin_sin(10))
			print(maclaurin_sin(-10))
			print(maclaurin_sin(10, 15))
			print(maclaurin_sin(-10, 15))

			print(maclaurin_cos(5))
			print(maclaurin_cos(-5))
			print(maclaurin_cos(10, 15))
			print(maclaurin_cos(-10, 15))










"""simple docstring"""




import os





def 						UpperCAmelCase__		(     ):






  """simple docstring"""





  A_  :       Any										=  os.path.join(os.path.dirname(_UpperCAmelCase					) ,					'num.txt'					)
  with open(_UpperCAmelCase					) as file_hand:
    return str(sum(int(_UpperCAmelCase					) for line in file_hand					)					)[:10]


if __name__ == "__main__":
   print(solution())