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