



'''simple docstring'''



from itertools import combinations_with_replacement



def 	__lowerCAmelCase       (				lowerCamelCase :    int = 1_00       ):






	'''simple docstring'''




	__lowerCAmelCase       				=	[*list(range(1					,		21       )       ), 25]
	__lowerCAmelCase       				=	[2 * x for x in range(1					,		21       )] + [50]
	__lowerCAmelCase       				=	[3 * x for x in range(1					,		21       )]
	__lowerCAmelCase       				=	singles + doubles + triples + [0]

	__lowerCAmelCase       				=	0
	__lowerCAmelCase       				=	42
	__lowerCAmelCase       				=	42
	__lowerCAmelCase       				=	42
	__lowerCAmelCase       				=	42

	for double in doubles:
		for throwa, throwa in combinations_with_replacement(UpperCAmelCase_					,		2       ):
			__lowerCAmelCase       				=	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 			_snake_case  (     UpperCAmelCase_	:       list[list[int]]       , UpperCAmelCase_	:       list[list[int]]      ):
     assert len(UpperCAmelCase_      ) == len(UpperCAmelCase_      )

     A__				      =	len(UpperCAmelCase_      )
     A__				      =	list(range(UpperCAmelCase_      )      )
     A__				      =	[-1] * n  # who the donor has donated to
     A__				      =	[-1] * n  # who the recipient has received from
     A__				      =	[0] * n

     while unmatched_donors:
          A__				      =	unmatched_donors[0]
          A__				      =	donor_pref[donor]
          A__				      =	donor_preference[num_donations[donor]]
          num_donations[donor] += 1
          A__				      =	recipient_pref[recipient]
          A__				      =	rec_record[recipient]

          if prev_donor != -1:
               if rec_preference.index(UpperCAmelCase_      ) > rec_preference.index(UpperCAmelCase_      ):
                    A__				      =	donor
                    A__				      =	recipient
                    unmatched_donors.append(UpperCAmelCase_      )
                    unmatched_donors.remove(UpperCAmelCase_      )
          else:
               A__				      =	donor
               A__				      =	recipient
               unmatched_donors.remove(UpperCAmelCase_      )
     return donor_record






