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