A, B, and C each stored five thousand bushels of yellow corn in the same bin in X's warehouse. X wrongfully sold ten thousand bushels of this corn to Y.
A contends that inasmuch as his five thousand bushels of corn were placed in the bin first, the remaining five thousand bushels belong to him. What are the rights of the parties?