Solution for Not
Solution for And