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