Blake and Josh are both saving money for a new bike. The ratio of Blake's savings to Josh's savings is 3:1. If they have saved $400, how much has each boy saved?