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