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