Andrew and Allison worked together to paint a whole house, and received $287 in total. Andrew worked for 3 days and Allison for 4 days, and decided to split the money between them according to the number of days worked. How much should each receive