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