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