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