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