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