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