import random


def _random_selection(*args):
    """
    Random selection for the genetic algorithm.

    This function randomly removes a solution from the population and returns it.

    :param args: list where args[0] is the population

    :rtype: Solution
    :returns: a solution from the population
    """
    return args[0].pop(random.randrange(0, len(args[0])))