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