



from math import factorial, radians


def A    (							__UpperCamelCase			,						__UpperCamelCase = 18			,						__UpperCamelCase = 10       )    ->   float:
			A__	  =     angle_in_degrees - ((angle_in_degrees // 360.0) * 360.0)

			# Converting from degrees to radians
			A__	  =     radians(__UpperCamelCase       )

			A__	  =     angle_in_radians
			A__	  =     3
			A__	  =     -1

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

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

			return round(__UpperCamelCase			,						__UpperCamelCase       )


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









from __future__ import annotations

from typing import Any


def A    (							__UpperCamelCase       )    ->   int:
			if not postfix_notation:
						return 0

			A__	  =     {'+', '-', '*', '/'}
			A__	  =     []

			for token in postfix_notation:
						if token in operations:
									A__  ,			A__	  =     stack.pop(), stack.pop()
									if token == "+":
												stack.append(a + b       )
									elif token == "-":
												stack.append(a - b       )
									elif token == "*":
												stack.append(a * b       )
									else:
												if a * b < 0 and a % b != 0:
															stack.append(a // b + 1       )
												else:
															stack.append(a // b       )
						else:
									stack.append(int(__UpperCamelCase       )       )

			return stack.pop()


if __name__ == "__main__":
							import doctest

							doctest.testmod()




