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