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