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