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