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