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