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