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