import random


def crossover(x, y):
    """ simple one-point crossover """
    random_point = random.randint(1, len(x) - 1)
    return x[0:random_point] + y[random_point:len(x)], \
           y[0:random_point] + x[random_point:len(x)]