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