There are 6 baskets on the table. Each basket has 4, 12, 13, 17, 7 and 5 apples. Sean chose first, John chose fourth, Matt chose third, Emma chose sixth, Liam chose second, and Olivia chose fifth. How many apples did Matt and Sean choose in total?