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