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