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