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