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