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