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