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