

"""simple docstring"""
def 					a__						(						lowerCAmelCase			,	lowerCAmelCase    )	-> None:
      UpperCAmelCase__			:							Union[str, Any]							=    len(lowerCAmelCase    )
      print("""The following activities are selected:"""    )

      # The first activity is always selected
      UpperCAmelCase__			:							Tuple							=    0
      print(lowerCAmelCase			,	end=""","""    )

      # Consider rest of the activities
      for j in range(lowerCAmelCase    ):
            # 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(lowerCAmelCase			,	end=""","""    )
                  UpperCAmelCase__			:							Tuple							=    j


if __name__ == "__main__":
    import doctest

    doctest.testmod()

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




"""simple docstring"""
def 					a__						(						)	-> Union[str, Any]:
      UpperCAmelCase__			:							Dict							=    []
      UpperCAmelCase__			:							Tuple							=    1

      while len(lowerCAmelCase    ) < 1E6:
            constant.append(str(lowerCAmelCase    )    )
            i += 1

      UpperCAmelCase__			:							Any							=    """""".join(lowerCAmelCase    )

      return (
          int(constant[0]    )
          * int(constant[9]    )
          * int(constant[99]    )
          * int(constant[9_99]    )
          * int(constant[99_99]    )
          * int(constant[9_99_99]    )
          * int(constant[99_99_99]    )
      )


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

