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