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