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