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