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