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