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