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