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