Ships carry 4 different colored flags (red, blue, white, black). They send messages by arranging the flags vertically on a pole. How many messages can be sent if
a) there are no restrictions
b) at least 3 blue flags and an odd number of white flags are use
c) an even number of all the flags are used
a) is obviously 4^12, but I cannot seem to figure out the other two