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