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