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