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