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