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