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