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