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