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