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