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