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