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