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