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