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