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