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