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