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