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