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