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