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