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