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