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