A store sells two sizes of fresh wreaths. An 18-inch wreath costs $20, and a 22-inch wreath costs $30. In one day, the number of 22-inch wreaths sold was four more than five times the number of 18-inch wreaths, for a total of $1310. How many of each were sold?