Together, teammates Pedro and Ricky got 2678 base hits last season. Pedro had 282 more hits than Ricky. How many hits did each player​ have?