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