S R Latch Using Nand Gate