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