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