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