Clever negation! They are both acceptable. As per the rules, they can be "at the beginning or end of a longer sentence."