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