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