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