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