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