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