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