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