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