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