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