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