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