def enfunc(x):
    """
    So-called K combinator. Given any value `x`, returns a function, that for any
    input value returns `x`
    :param x: value to be returned
    :return: function that returns `x` for any input
    """
    return lambda _: x
