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