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