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