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