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