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