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