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