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