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