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