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