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