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