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