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