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