Let and be the empirical distribution functions of two independent samples, each of size n, in the case where the elements of the samples are independent random variables, each having the same continuous distribution function over the interval (0, 1). Define a statistic by . In this paper the limits of and are determined for . The problem of finding the asymptotic behavior of the moments and the distribution of as has arisen in a study of the fluctuations of the inventory of locomotives in a randomly chosen railway depot.