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