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