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