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