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