



"""simple docstring"""


def 			_lowerCAmelCase				(       lowercase_ = 1000						):
						UpperCAmelCase					=			2**power
						UpperCAmelCase					=			str(lowercase_						)
						UpperCAmelCase					=			list(lowercase_						)
						UpperCAmelCase					=			0

						for i in list_num:
												sum_of_num += int(lowercase_						)

						return sum_of_num


if __name__ == "__main__":
				snake_case_    					=	int(input("""Enter the power of 2: """).strip())
				print("""2 ^ """, power, """ = """, 2**power)
				snake_case_    					=	solution(power)
				print("""Sum of the digits is: """, result)










"""simple docstring"""


from math import factorial, radians

def 			_lowerCAmelCase				(       lowercase_		,     lowercase_ = 18		,     lowercase_ = 10						):
						UpperCAmelCase					=			angle_in_degrees - ((angle_in_degrees // 3_6_0.0) * 3_6_0.0)

						# Converting from degrees to radians
						UpperCAmelCase					=			radians(lowercase_						)

						UpperCAmelCase					=			angle_in_radians
						UpperCAmelCase					=			3
						UpperCAmelCase					=			-1

						for _ in range(lowercase_						):
												result += (b * (angle_in_radians**a)) / factorial(lowercase_						)

												UpperCAmelCase					=			-b  # One positive term and the next will be negative and so on...
												a += 2  # Increased by 2 for every term.

						return round(lowercase_		,     lowercase_						)


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





