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