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