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