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