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