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