N ,because if all is as it should be N is constant over the two observed epochs.
Therefore, the triple difference makes the detection and elimination of cycle slips relatively easy.
Actually, a triple difference is not sufficiently accurate for short baseline. It is used to find the integer cycle ambiguity. Once the cycle ambiguity is determined it can be used with the double difference solution calculate the actual carrier phase measurement