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