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