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