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