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