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