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