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