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