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