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