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