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