This paper studies the joint behaviour of precedences of one sample
with respect to a threshold from the other sample and exceedances of
second sample with respect to a threshold from the first sample. Exact joint
distribution of the number of precedences and exceedances is derived for the
case of equal distributions of the two samples.