import math


def schwefel(phenome):
    """The bare-bones Schwefel function."""
    ret = 0.0
    sin = math.sin
    sqrt = math.sqrt
    for x in phenome:
        ret -= x * sin(sqrt(abs(x)))
    return ret