



"""simple docstring"""






from math import factorial, radians






def 	snake_case_  (				A_ :		float,    A_ :		int = 18,    A_ :		int = 10						):


       '''simple docstring'''





       _lowerCamelCase						:    Tuple         =			angle_in_degrees - ((angle_in_degrees // 360.0) * 360.0)

       # Converting from degrees to radians
       _lowerCamelCase						:    Tuple         =			radians(A_						)

       _lowerCamelCase						:    List[str]         =			angle_in_radians
       _lowerCamelCase						:    Union[str, Any]         =			3
       _lowerCamelCase						:    List[Any]         =			-1

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

              _lowerCamelCase						:    Union[str, Any]         =			-b  # One positive term and the next will be negative and so on...
              a += 2  # Increased by 2 for every term.

       return round(A_,    A_						)


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







"""simple docstring"""






from itertools import permutations






def 	snake_case_  (				A_ :		tuple						):


       '''simple docstring'''





       if num[3] % 2 != 0:
              return False

       if (num[2] + num[3] + num[4]) % 3 != 0:
              return False

       if num[5] % 5 != 0:
              return False

       _lowerCamelCase						:    Any         =			[7, 11, 13, 17]
       for i, test in enumerate(A_						):
              if (num[i + 4] * 1_00 + num[i + 5] * 10 + num[i + 6]) % test != 0:
                     return False
       return True






def 	snake_case_  (				A_ :		int = 10						):


       '''simple docstring'''





       return sum(
           int(''''''.join(map(A_,    A_						)						)						)
           for num in permutations(range(A_						)						)
           if is_substring_divisible(A_						)						)


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


