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