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