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