how many different signals can be generated if each signal requires the use of 2 flags