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