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