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