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