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