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