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