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