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