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