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