Rings of size pq