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