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