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