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