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