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