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