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