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