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