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