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