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