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