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