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