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