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