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