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