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