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