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