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