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