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