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