'''simple docstring'''


def   A_      (       SCREAMING_SNAKE_CASE_ ,	SCREAMING_SNAKE_CASE_						)			->None:
  lowercase_     =       len(SCREAMING_SNAKE_CASE_						)
  print("""The following activities are selected:"""						)

  # The first activity is always selected
  lowercase_     =       0
  print(SCREAMING_SNAKE_CASE_ ,	end=""","""						)

  # Consider rest of the activities
  for j in range(SCREAMING_SNAKE_CASE_						):
    # If this activity has start time greater than
    # or equal to the finish time of previously
    # selected activity, then select it
    if start[j] >= finish[i]:
      print(SCREAMING_SNAKE_CASE_ ,	end=""","""						)
      lowercase_     =       j


if __name__ == "__main__":
       import doctest

       doctest.testmod()

       __snake_case						  =		[1, 3, 0, 5, 8, 5]
       __snake_case						  =		[2, 4, 6, 7, 9, 9]
       print_max_activities(start, finish)


'''simple docstring'''


def   A_      (       SCREAMING_SNAKE_CASE_						)			->bool:
  if number < 0:
    raise ValueError("""number must not be negative"""						)
  return number & (number - 1) == 0


if __name__ == "__main__":
       import doctest

       doctest.testmod()

