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