PROB3: BUILD GATES

INPUT: prob3.dat

OUTPUT: prob3.out