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