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