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