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