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