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