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