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