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