



"""simple docstring"""






import math

lowerCAmelCase__      =    10
lowerCAmelCase__      =    7
lowerCAmelCase__      =    BALLS_PER_COLOUR * NUM_COLOURS






def 	snake_case_  (				A_ :		int = 20						):


							'''simple docstring'''





							_lowerCamelCase						:    Tuple         =			math.comb(SCREAMING_SNAKE_CASE_,    SCREAMING_SNAKE_CASE_						)
							_lowerCamelCase						:    Optional[int]         =			math.comb(NUM_BALLS - BALLS_PER_COLOUR,    SCREAMING_SNAKE_CASE_						)

							_lowerCamelCase						:    List[str]         =			NUM_COLOURS * (1 - missing_colour / total)

							return F'''{result:.9f}'''


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







"""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() = }""")


