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