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