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