Input Minterms Maxterms A B C Terms Designation Terms Designation 0 0 0 P 0 S 0 0 0 1 P 1 S 1 0 1 0 P 2 S 2 0 1 1 P 3 S 3 1 0 0 P 4 S 4 1 0 1 P 5 S 5 1 1 0 P 6 S 6 1 1 1 P 7 S 7