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