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