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