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