'''simple docstring'''




from itertools import combinations_with_replacement

def _UpperCamelCase (							SCREAMING_SNAKE_CASE_ = 100				):
     lowercase_       :							Dict  					=       [*list(range(1	,							21				)				), 25]
     lowercase_       :							Tuple  					=       [2 * x for x in range(1	,							21				)] + [50]
     lowercase_       :							List[str]  					=       [3 * x for x in range(1	,							21				)]
     lowercase_       :							List[Any]  					=       singles + doubles + triples + [0]

     lowercase_       :							Any  					=       0
     lowercase_       :							int  					=       42
     lowercase_       :							Optional[Any]  					=       42
     lowercase_       :							Union[str, Any]  					=       42
     lowercase_       :							Optional[Any]  					=       42

     for double in doubles:
          for throwa, throwa in combinations_with_replacement(__lowerCamelCase	,							2				):
               lowercase_       :							int  					=       double + throwa + throwa
               if checkout_total < limit:
                    num_checkouts += 1

     return num_checkouts


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








'''simple docstring'''

from __future__ import annotations






def __UpperCamelCase (      __lowerCamelCase		:			float | int   ,	__lowerCamelCase		:			float | int   ,	__lowerCamelCase		:			float | int   ,	)   ->  list[float | int]:







     '''simple docstring'''






     if not all((nth_term, start_term_a, common_ratio_r)					):
          return []
     _a            =		[]
     _a            =		1
     _a            =		common_ratio_r
     for _ in range(int(__lowerCamelCase					)					):
          if not series:
               series.append(__lowerCamelCase					)
          else:
               power += 1
               series.append(float(start_term_a * multiple					)					)
               _a            =		pow(float(__lowerCamelCase					)   ,	__lowerCamelCase					)
     return series


if __name__ == "__main__":
   import doctest

   doctest.testmod()

   lowercase__					  =		float(input("Enter the last number (n term) of the Geometric Series"))
   lowercase__					  =		float(input("Enter the starting term (a) of the Geometric Series"))
   lowercase__					  =		float(
       input("Enter the common ratio between two terms (r) of the Geometric Series")
   )
   print("Formula of Geometric Series => a + ar + ar^2 ... +ar^n")
   print(geometric_series(nth_term, start_term_a, common_ratio_r))

