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