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