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