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