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