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