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