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