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